Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ObjRef.cs
- ActivityCodeGenerator.cs
- SafeNativeMethods.cs
- EncodingNLS.cs
- ObjectDataSourceDisposingEventArgs.cs
- InputScope.cs
- BitmapEffectInput.cs
- WorkflowHostingResponseContext.cs
- AvTraceFormat.cs
- XmlDocument.cs
- PrtCap_Public.cs
- QueryStringHandler.cs
- ListViewItemEventArgs.cs
- XmlRawWriter.cs
- FamilyMapCollection.cs
- SqlProviderServices.cs
- View.cs
- XmlSchemaType.cs
- ImageCodecInfoPrivate.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- DataKeyArray.cs
- FixedFlowMap.cs
- DesignerAutoFormatCollection.cs
- MetadataCache.cs
- _BaseOverlappedAsyncResult.cs
- DataGridViewDataErrorEventArgs.cs
- LocalizationComments.cs
- DbSourceCommand.cs
- BackgroundFormatInfo.cs
- TextTreeTextNode.cs
- InfiniteIntConverter.cs
- PageVisual.cs
- RouteCollection.cs
- EntityContainer.cs
- TimeBoundedCache.cs
- AssemblyEvidenceFactory.cs
- PKCS1MaskGenerationMethod.cs
- ModelPerspective.cs
- TextRangeEditLists.cs
- WebBrowserHelper.cs
- Label.cs
- Style.cs
- MethodBuilderInstantiation.cs
- ManagedIStream.cs
- Pen.cs
- CatalogPartChrome.cs
- TableLayoutSettingsTypeConverter.cs
- IdentityHolder.cs
- AutomationPropertyInfo.cs
- InstancePersistenceCommandException.cs
- XamlTemplateSerializer.cs
- FlowDocumentScrollViewer.cs
- ToolboxItemAttribute.cs
- X509AsymmetricSecurityKey.cs
- HttpTransportElement.cs
- WebPartTransformerAttribute.cs
- FileAuthorizationModule.cs
- ToolStripItemTextRenderEventArgs.cs
- MaterializeFromAtom.cs
- HttpBufferlessInputStream.cs
- EventMappingSettings.cs
- CodeRemoveEventStatement.cs
- SecurityPolicyVersion.cs
- mediaeventargs.cs
- Model3D.cs
- CacheSection.cs
- FormsAuthentication.cs
- FormsAuthenticationEventArgs.cs
- BinarySerializer.cs
- QuotedPairReader.cs
- SqlTriggerContext.cs
- AutomationPatternInfo.cs
- TextBounds.cs
- ProfilePropertyNameValidator.cs
- log.cs
- LicenseProviderAttribute.cs
- ScriptComponentDescriptor.cs
- TableItemPattern.cs
- TextBoxAutoCompleteSourceConverter.cs
- ConfigurationException.cs
- Rect.cs
- TextSearch.cs
- ConfigurationPermission.cs
- _PooledStream.cs
- UserPersonalizationStateInfo.cs
- SyntaxCheck.cs
- ColorComboBox.cs
- FolderLevelBuildProviderCollection.cs
- XPathParser.cs
- ObjectItemCachedAssemblyLoader.cs
- UIntPtr.cs
- InternalConfigConfigurationFactory.cs
- DesignerHost.cs
- SafeNativeMethods.cs
- SqlDataSourceCache.cs
- PeerValidationBehavior.cs
- COM2IDispatchConverter.cs
- ToolStripDropDownButton.cs
- COM2ExtendedBrowsingHandler.cs
- ControlCachePolicy.cs