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
- NetCodeGroup.cs
- DeviceContexts.cs
- SerializationBinder.cs
- SqlDataReaderSmi.cs
- TdsParserHelperClasses.cs
- COM2AboutBoxPropertyDescriptor.cs
- CssTextWriter.cs
- SystemIPv6InterfaceProperties.cs
- Win32Interop.cs
- Stack.cs
- Part.cs
- ColorContext.cs
- CompilationLock.cs
- CustomWebEventKey.cs
- TreeNodeStyleCollection.cs
- RuntimeHandles.cs
- GlobalEventManager.cs
- XslUrlEditor.cs
- HwndKeyboardInputProvider.cs
- WindowsAltTab.cs
- ValidationHelper.cs
- LayoutEngine.cs
- StringTraceRecord.cs
- DataGridLinkButton.cs
- SafeReversePInvokeHandle.cs
- Formatter.cs
- SerializationException.cs
- Parser.cs
- BufferedGraphics.cs
- LogWriteRestartAreaAsyncResult.cs
- CoTaskMemUnicodeSafeHandle.cs
- DetailsViewPageEventArgs.cs
- OutputCacheProfileCollection.cs
- ValidationSummaryDesigner.cs
- WebUtility.cs
- EllipticalNodeOperations.cs
- Underline.cs
- DbUpdateCommandTree.cs
- ProjectionPlanCompiler.cs
- NavigationPropertyEmitter.cs
- DependencyObjectPropertyDescriptor.cs
- Fx.cs
- SamlAdvice.cs
- Matrix.cs
- Decoder.cs
- ThreadInterruptedException.cs
- XslCompiledTransform.cs
- EventSourceCreationData.cs
- DataGridLinkButton.cs
- ObjectQuery.cs
- SingleAnimation.cs
- SerialReceived.cs
- RepeatInfo.cs
- ProvideValueServiceProvider.cs
- basecomparevalidator.cs
- OpacityConverter.cs
- AddInActivator.cs
- SQLBinaryStorage.cs
- UnaryNode.cs
- _UriTypeConverter.cs
- FunctionParameter.cs
- Track.cs
- ComponentChangedEvent.cs
- GridViewRowCollection.cs
- TaskDesigner.cs
- DesignerRegion.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ModelItemImpl.cs
- ShaderEffect.cs
- RectAnimationUsingKeyFrames.cs
- SubstitutionList.cs
- IgnoreSection.cs
- Converter.cs
- unitconverter.cs
- X509IssuerSerialKeyIdentifierClause.cs
- WebMessageFormatHelper.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- AsymmetricKeyExchangeDeformatter.cs
- ServicePointManager.cs
- CustomCategoryAttribute.cs
- DataSourceCache.cs
- ALinqExpressionVisitor.cs
- MessageAction.cs
- FormatterConverter.cs
- EndEvent.cs
- CustomCategoryAttribute.cs
- ToolZone.cs
- Math.cs
- MobileResource.cs
- URLString.cs
- odbcmetadatacolumnnames.cs
- ClientScriptManagerWrapper.cs
- HttpAsyncResult.cs
- TargetInvocationException.cs
- PersianCalendar.cs
- ProtocolsSection.cs
- ActivityBindForm.cs
- OverlappedAsyncResult.cs
- ServiceDescriptionSerializer.cs
- PipelineModuleStepContainer.cs