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
- TransactionManager.cs
- ServicePointManager.cs
- TextEditorContextMenu.cs
- ErrorWebPart.cs
- SignatureHelper.cs
- DES.cs
- SystemIPv6InterfaceProperties.cs
- UrlMapping.cs
- ContextToken.cs
- ACL.cs
- ZipPackagePart.cs
- SimpleTableProvider.cs
- XmlSchemaDatatype.cs
- Point3DValueSerializer.cs
- XmlSchemaElement.cs
- DataTableTypeConverter.cs
- TagPrefixInfo.cs
- Exception.cs
- ConnectionString.cs
- TextRunCache.cs
- RightsManagementEncryptedStream.cs
- ActivityCodeDomSerializationManager.cs
- GPPOINTF.cs
- DataIdProcessor.cs
- SuppressMergeCheckAttribute.cs
- CacheMemory.cs
- InvalidWMPVersionException.cs
- JsonDeserializer.cs
- KeyGestureConverter.cs
- ResourceIDHelper.cs
- HttpCachePolicyWrapper.cs
- InputLanguageEventArgs.cs
- XXXInfos.cs
- DataGridViewRowStateChangedEventArgs.cs
- SchemaConstraints.cs
- XamlPoint3DCollectionSerializer.cs
- GeneralTransformCollection.cs
- ShadowGlyph.cs
- shaper.cs
- MatrixValueSerializer.cs
- BreakRecordTable.cs
- DataSourceXmlSerializer.cs
- IgnoreFlushAndCloseStream.cs
- SharedPerformanceCounter.cs
- MetadataImporter.cs
- DBCommandBuilder.cs
- SQLInt32Storage.cs
- VirtualizedCellInfoCollection.cs
- DnsPermission.cs
- PhoneCallDesigner.cs
- LabelEditEvent.cs
- ApplicationSettingsBase.cs
- Triplet.cs
- FactoryRecord.cs
- TemplatedWizardStep.cs
- ClientRolePrincipal.cs
- StreamResourceInfo.cs
- ConnectionPoolRegistry.cs
- FileAuthorizationModule.cs
- ProvidePropertyAttribute.cs
- CSharpCodeProvider.cs
- ServiceRoute.cs
- handlecollector.cs
- ComponentDispatcher.cs
- BinaryObjectWriter.cs
- ChangePassword.cs
- QueryOpeningEnumerator.cs
- ImportContext.cs
- Screen.cs
- MatrixTransform.cs
- ItemList.cs
- MenuCommandsChangedEventArgs.cs
- _TimerThread.cs
- ToolStripHighContrastRenderer.cs
- Int32.cs
- ProcessHostConfigUtils.cs
- TdsValueSetter.cs
- CustomCredentialPolicy.cs
- ReadWriteSpinLock.cs
- XmlSubtreeReader.cs
- NamespaceListProperty.cs
- HeaderPanel.cs
- DesignerSerializationOptionsAttribute.cs
- ResourcesBuildProvider.cs
- DataGridViewAccessibleObject.cs
- InteropBitmapSource.cs
- TextTreeTextNode.cs
- WhitespaceRule.cs
- Deflater.cs
- FormsAuthentication.cs
- ArcSegment.cs
- RightsManagementInformation.cs
- SecureStringHasher.cs
- AssertUtility.cs
- FontConverter.cs
- XPathChildIterator.cs
- DecoderExceptionFallback.cs
- GenericWebPart.cs
- ExpressionDumper.cs
- SecurityVerifiedMessage.cs