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
- ConfigurationManagerHelper.cs
- MarkupWriter.cs
- DataControlButton.cs
- RadioButtonAutomationPeer.cs
- BitmapPalettes.cs
- Message.cs
- Stack.cs
- WindowsComboBox.cs
- UnicastIPAddressInformationCollection.cs
- StringFunctions.cs
- WriteableBitmap.cs
- CacheChildrenQuery.cs
- ScaleTransform3D.cs
- ExpressionLexer.cs
- BuildProvider.cs
- DataGridCell.cs
- WebSysDisplayNameAttribute.cs
- TableLayoutStyleCollection.cs
- QuadraticBezierSegment.cs
- WindowsPrincipal.cs
- SiteMapDataSource.cs
- TranslateTransform3D.cs
- AssemblyNameProxy.cs
- UTF7Encoding.cs
- ObjectItemLoadingSessionData.cs
- ToolStripItemRenderEventArgs.cs
- DecimalAnimation.cs
- HijriCalendar.cs
- AuthStoreRoleProvider.cs
- ProfileModule.cs
- Interlocked.cs
- SchemaTypeEmitter.cs
- RoutedEventHandlerInfo.cs
- Triangle.cs
- CompletionCallbackWrapper.cs
- _OverlappedAsyncResult.cs
- IOException.cs
- WebReferenceCollection.cs
- GridViewColumn.cs
- baseaxisquery.cs
- PasswordRecoveryDesigner.cs
- SchemaImporterExtension.cs
- RoutedEventConverter.cs
- AddingNewEventArgs.cs
- Material.cs
- Tokenizer.cs
- StylusSystemGestureEventArgs.cs
- LineInfo.cs
- ProcessHostMapPath.cs
- MemoryRecordBuffer.cs
- Color.cs
- XmlComplianceUtil.cs
- SingleAnimation.cs
- HtmlContainerControl.cs
- VersionedStreamOwner.cs
- _MultipleConnectAsync.cs
- SizeConverter.cs
- BuiltInExpr.cs
- CancelRequestedRecord.cs
- Vector3DAnimationBase.cs
- RawStylusInputCustomDataList.cs
- TextProperties.cs
- ObjectDataSourceSelectingEventArgs.cs
- OpenTypeCommon.cs
- BamlWriter.cs
- OleServicesContext.cs
- SafeCryptoHandles.cs
- GridViewDeletedEventArgs.cs
- ComponentEditorPage.cs
- CapabilitiesUse.cs
- BitmapFrame.cs
- IgnoreDataMemberAttribute.cs
- RIPEMD160Managed.cs
- CardSpaceSelector.cs
- ColumnMap.cs
- AutoScrollHelper.cs
- TemplateBindingExpressionConverter.cs
- HttpRawResponse.cs
- TargetFrameworkUtil.cs
- BaseDataBoundControl.cs
- FactoryMaker.cs
- TypeExtensionConverter.cs
- ThrowHelper.cs
- Accessible.cs
- Image.cs
- AutomationIdentifierGuids.cs
- QilPatternVisitor.cs
- LifetimeServices.cs
- EventWaitHandleSecurity.cs
- MetadataItem_Static.cs
- Point3DCollectionValueSerializer.cs
- IISUnsafeMethods.cs
- CachedBitmap.cs
- wpf-etw.cs
- Transform3DGroup.cs
- Behavior.cs
- DodSequenceMerge.cs
- SendActivity.cs
- Blend.cs
- Mutex.cs