Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeStatement.cs / 1305376 / CodeStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; using System.Runtime.Serialization; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; using System.Runtime.Serialization; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- CounterCreationDataConverter.cs
- DbRetry.cs
- BatchStream.cs
- CompilationUtil.cs
- IsolatedStorageFile.cs
- QilStrConcatenator.cs
- SizeIndependentAnimationStorage.cs
- XmlObjectSerializerContext.cs
- BamlVersionHeader.cs
- BaseTransportHeaders.cs
- TextLineBreak.cs
- EmbeddedMailObject.cs
- BrowserCapabilitiesFactory.cs
- RoleService.cs
- ObjectSecurity.cs
- ScrollProviderWrapper.cs
- AspProxy.cs
- OpCellTreeNode.cs
- ProcessModuleCollection.cs
- AbsoluteQuery.cs
- _NestedSingleAsyncResult.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ProviderException.cs
- AmbientProperties.cs
- BrowserCapabilitiesCodeGenerator.cs
- ReferenceEqualityComparer.cs
- AutomationPropertyInfo.cs
- UIElementParagraph.cs
- SvcMapFileSerializer.cs
- GroupJoinQueryOperator.cs
- XamlSerializer.cs
- TextMarkerSource.cs
- streamingZipPartStream.cs
- DataGridViewColumnTypeEditor.cs
- MarkupExtensionSerializer.cs
- FilterableAttribute.cs
- CroppedBitmap.cs
- MiniAssembly.cs
- Size.cs
- DiscoveryDocumentSerializer.cs
- URLString.cs
- MessageSecurityProtocol.cs
- ApplicationSettingsBase.cs
- ToolStripStatusLabel.cs
- Console.cs
- Win32Exception.cs
- SecurityRequiresReviewAttribute.cs
- WebPartEditVerb.cs
- PagesSection.cs
- PropertyPath.cs
- ReadOnlyPropertyMetadata.cs
- PenLineJoinValidation.cs
- BuildProvider.cs
- PermissionSetEnumerator.cs
- QilGenerator.cs
- CodeArrayCreateExpression.cs
- UpdateException.cs
- SqlConnectionStringBuilder.cs
- SystemMulticastIPAddressInformation.cs
- DPTypeDescriptorContext.cs
- RelationshipManager.cs
- VideoDrawing.cs
- InternalResources.cs
- ObjectListItemCollection.cs
- AppDomainCompilerProxy.cs
- BoundPropertyEntry.cs
- FileLevelControlBuilderAttribute.cs
- XmlDownloadManager.cs
- CompiledQueryCacheKey.cs
- TableItemProviderWrapper.cs
- XmlNotation.cs
- BookmarkScopeManager.cs
- cookiecollection.cs
- PolyQuadraticBezierSegment.cs
- TextViewBase.cs
- DiscardableAttribute.cs
- StringDictionaryEditor.cs
- DiagnosticTrace.cs
- LogSwitch.cs
- ItemAutomationPeer.cs
- ActivityExecutorOperation.cs
- DiscoveryDocumentLinksPattern.cs
- Input.cs
- SafeCryptoHandles.cs
- ExtendedPropertiesHandler.cs
- TrackingServices.cs
- EndpointFilterProvider.cs
- UpDownEvent.cs
- XPathSelectionIterator.cs
- DrawingGroup.cs
- ListViewItem.cs
- FormView.cs
- DbDataSourceEnumerator.cs
- ValidationResult.cs
- WebPartConnectionCollection.cs
- BooleanSwitch.cs
- PointCollection.cs
- XmlSerializableWriter.cs
- ToolStripDropDownButton.cs
- HtmlInputControl.cs