Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DefaultBindingPropertyAttribute.cs
- PkcsUtils.cs
- Utils.cs
- ResourceDescriptionAttribute.cs
- PropertyInfo.cs
- DesignerEventService.cs
- SQLMoney.cs
- CqlIdentifiers.cs
- RemoteWebConfigurationHost.cs
- _Events.cs
- ActivationArguments.cs
- RelationshipEnd.cs
- DocumentXPathNavigator.cs
- TextInfo.cs
- InheritablePropertyChangeInfo.cs
- XmlNodeChangedEventArgs.cs
- NativeActivityTransactionContext.cs
- RemotingConfiguration.cs
- ContextMarshalException.cs
- DynamicPropertyHolder.cs
- DeviceContexts.cs
- WorkflowServiceBehavior.cs
- ProgressBarBrushConverter.cs
- ApplicationServiceHelper.cs
- Camera.cs
- ConstNode.cs
- X509SubjectKeyIdentifierClause.cs
- ItemMap.cs
- BaseCollection.cs
- Normalization.cs
- SystemGatewayIPAddressInformation.cs
- Int64.cs
- RequiredAttributeAttribute.cs
- ThaiBuddhistCalendar.cs
- TextChange.cs
- SamlDelegatingWriter.cs
- ObjectConverter.cs
- XmlNodeComparer.cs
- TextBoxLine.cs
- SolidColorBrush.cs
- Translator.cs
- DetailsView.cs
- SmtpMail.cs
- CapabilitiesSection.cs
- GlobalAclOperationRequirement.cs
- ColorIndependentAnimationStorage.cs
- BinaryObjectReader.cs
- VerbConverter.cs
- panel.cs
- TextSearch.cs
- SeparatorAutomationPeer.cs
- LinkGrep.cs
- PersistenceTypeAttribute.cs
- AliasGenerator.cs
- Pens.cs
- DrawingAttributesDefaultValueFactory.cs
- PeerService.cs
- FrameworkEventSource.cs
- PixelShader.cs
- DesignTimeHTMLTextWriter.cs
- RangeBase.cs
- CodeAttachEventStatement.cs
- ValidatorCompatibilityHelper.cs
- DiagnosticTrace.cs
- ListViewContainer.cs
- EncryptedType.cs
- Enlistment.cs
- Page.cs
- ScrollPattern.cs
- DataServiceContext.cs
- MultiTrigger.cs
- SymDocumentType.cs
- NavigationProperty.cs
- QualifiedCellIdBoolean.cs
- CharStorage.cs
- PinnedBufferMemoryStream.cs
- DictionarySurrogate.cs
- XmlValidatingReaderImpl.cs
- XslAst.cs
- MetaDataInfo.cs
- FunctionImportElement.cs
- EntryWrittenEventArgs.cs
- TextPenaltyModule.cs
- EventSinkActivity.cs
- ContextMarshalException.cs
- FolderBrowserDialog.cs
- HiddenField.cs
- DocumentViewerHelper.cs
- ParallelTimeline.cs
- SafeNativeMethods.cs
- MsmqIntegrationMessagePool.cs
- PermissionListSet.cs
- ConfigurationValidatorAttribute.cs
- CodeParameterDeclarationExpressionCollection.cs
- PackWebResponse.cs
- AttributeData.cs
- SqlConnectionFactory.cs
- PeekCompletedEventArgs.cs
- OleAutBinder.cs
- ProcessModuleCollection.cs