Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeStatement.cs / 1 / CodeStatement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; using System.Runtime.Serialization; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeStatement : CodeObject { private CodeLinePragma linePragma; // Optionally Serializable [OptionalField] private CodeDirectiveCollection startDirectives = null; [OptionalField] private CodeDirectiveCollection endDirectives = null; ////// Represents a statement. /// ////// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } public CodeDirectiveCollection StartDirectives { get { if (startDirectives == null) { startDirectives = new CodeDirectiveCollection(); } return startDirectives; } } public CodeDirectiveCollection EndDirectives { get { if (endDirectives == null) { endDirectives = new CodeDirectiveCollection(); } return endDirectives ; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The line the statement occurs on. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; using System.Runtime.Serialization; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeStatement : CodeObject { private CodeLinePragma linePragma; // Optionally Serializable [OptionalField] private CodeDirectiveCollection startDirectives = null; [OptionalField] private CodeDirectiveCollection endDirectives = null; ////// Represents a statement. /// ////// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } public CodeDirectiveCollection StartDirectives { get { if (startDirectives == null) { startDirectives = new CodeDirectiveCollection(); } return startDirectives; } } public CodeDirectiveCollection EndDirectives { get { if (endDirectives == null) { endDirectives = new CodeDirectiveCollection(); } return endDirectives ; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The line the statement occurs on. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProviderConnectionPointCollection.cs
- Visual3D.cs
- DataExchangeServiceBinder.cs
- SymmetricAlgorithm.cs
- AutomationPatternInfo.cs
- ScriptManager.cs
- AuthenticationException.cs
- _UriSyntax.cs
- ComponentRenameEvent.cs
- CultureInfo.cs
- CompositionDesigner.cs
- ImageCodecInfo.cs
- DataGridRowHeaderAutomationPeer.cs
- TreeWalker.cs
- GridViewRowCollection.cs
- EventArgs.cs
- ContainerActivationHelper.cs
- MethodImplAttribute.cs
- SafeFindHandle.cs
- AttachedPropertyInfo.cs
- HttpListenerContext.cs
- NetPeerTcpBinding.cs
- ObjRef.cs
- RelationshipEndMember.cs
- ColumnHeaderConverter.cs
- LinqTreeNodeEvaluator.cs
- HostingEnvironmentException.cs
- EntityDataSourceWrapperCollection.cs
- XmlNavigatorStack.cs
- SQLConvert.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- PropertyRef.cs
- XmlIlGenerator.cs
- SecureUICommand.cs
- GridViewRowPresenter.cs
- MULTI_QI.cs
- ScriptManagerProxy.cs
- MainMenu.cs
- SiteMapHierarchicalDataSourceView.cs
- ContentIterators.cs
- BookmarkEventArgs.cs
- ConnectionStringSettings.cs
- ConfigurationSection.cs
- ProfileModule.cs
- AssertHelper.cs
- TimeSpanFormat.cs
- Stream.cs
- XmlSchemaSimpleContentExtension.cs
- XmlObjectSerializer.cs
- FixedDocumentPaginator.cs
- WebPartEditorCancelVerb.cs
- XmlSortKeyAccumulator.cs
- Scheduling.cs
- DataGridViewUtilities.cs
- CacheModeValueSerializer.cs
- CompilationRelaxations.cs
- DropDownButton.cs
- DefaultPropertyAttribute.cs
- WebResourceUtil.cs
- FixedFlowMap.cs
- HwndHost.cs
- DataGridViewTopRowAccessibleObject.cs
- XmlMembersMapping.cs
- RegexParser.cs
- WebPartConnectionsDisconnectVerb.cs
- DefaultAssemblyResolver.cs
- GenericWebPart.cs
- ChannelEndpointElement.cs
- ConnectionDemuxer.cs
- HandledMouseEvent.cs
- XmlIncludeAttribute.cs
- SchemaTypeEmitter.cs
- securestring.cs
- ParserExtension.cs
- QueryComponents.cs
- BookmarkUndoUnit.cs
- CodeDelegateCreateExpression.cs
- QilSortKey.cs
- Assembly.cs
- WebEvents.cs
- ImportedNamespaceContextItem.cs
- AssertUtility.cs
- MemoryFailPoint.cs
- MediaElement.cs
- DesignerCategoryAttribute.cs
- BindingList.cs
- ThumbButtonInfo.cs
- ChangeTracker.cs
- HotSpot.cs
- XmlWrappingReader.cs
- RequestUriProcessor.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- CatalogPartCollection.cs
- StrongNameUtility.cs
- WebPartHeaderCloseVerb.cs
- DataBinding.cs
- CodeCatchClauseCollection.cs
- HttpRequestCacheValidator.cs
- ValueTypePropertyReference.cs
- SqlConnectionString.cs