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
- DependencyPropertyConverter.cs
- SystemDropShadowChrome.cs
- GridViewRowPresenterBase.cs
- CompareValidator.cs
- Stack.cs
- Update.cs
- KeyManager.cs
- FrameworkElementFactory.cs
- ContractUtils.cs
- EntityModelBuildProvider.cs
- DirectoryInfo.cs
- BitmapEncoder.cs
- ClientRoleProvider.cs
- XmlnsDictionary.cs
- PackWebRequest.cs
- SmuggledIUnknown.cs
- CFStream.cs
- XmlQualifiedName.cs
- MbpInfo.cs
- XamlTemplateSerializer.cs
- ConfigurationElement.cs
- contentDescriptor.cs
- CharAnimationBase.cs
- DesignerInterfaces.cs
- DataRowExtensions.cs
- DeflateStream.cs
- MappingException.cs
- MenuScrollingVisibilityConverter.cs
- LinqDataSourceSelectEventArgs.cs
- StaticExtensionConverter.cs
- DrawingGroup.cs
- UIElementParagraph.cs
- Splitter.cs
- MenuAutomationPeer.cs
- SemanticKeyElement.cs
- StylusDownEventArgs.cs
- TextMessageEncodingBindingElement.cs
- ShaperBuffers.cs
- DesignerCapabilities.cs
- SiteMapDataSourceView.cs
- EntitySqlException.cs
- DeviceSpecificChoice.cs
- CompilationUnit.cs
- DesignerActionUIService.cs
- XmlDataSourceDesigner.cs
- Table.cs
- RegexMatchCollection.cs
- Misc.cs
- VisualStyleInformation.cs
- SQLBytesStorage.cs
- ResourcesBuildProvider.cs
- ArgumentDirectionHelper.cs
- DoubleCollectionConverter.cs
- SrgsElementList.cs
- JsonWriterDelegator.cs
- BufferedGraphics.cs
- WorkflowDurableInstance.cs
- ReachFixedDocumentSerializer.cs
- TempEnvironment.cs
- Update.cs
- NonBatchDirectoryCompiler.cs
- ColorAnimation.cs
- XhtmlBasicValidatorAdapter.cs
- AdCreatedEventArgs.cs
- HWStack.cs
- KnownTypes.cs
- LocalizabilityAttribute.cs
- SafeBitVector32.cs
- WebServicesDescriptionAttribute.cs
- XmlChildNodes.cs
- CompletionCallbackWrapper.cs
- LongMinMaxAggregationOperator.cs
- AssemblyName.cs
- UserMapPath.cs
- HttpPostedFile.cs
- StyleCollectionEditor.cs
- XmlBoundElement.cs
- CodeGroup.cs
- CellTreeNode.cs
- ToolBarDesigner.cs
- WebInvokeAttribute.cs
- ComponentCodeDomSerializer.cs
- InterleavedZipPartStream.cs
- XmlMembersMapping.cs
- DataGridColumn.cs
- ProtocolsConfiguration.cs
- Nodes.cs
- xsdvalidator.cs
- GridSplitterAutomationPeer.cs
- DockPattern.cs
- FileVersionInfo.cs
- RoleService.cs
- ManagementScope.cs
- DataException.cs
- RSAOAEPKeyExchangeDeformatter.cs
- XmlTextReaderImplHelpers.cs
- DocumentViewerHelper.cs
- PasswordTextContainer.cs
- ProfessionalColorTable.cs
- SamlEvidence.cs