Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EventSetterHandlerConverter.cs
- Rethrow.cs
- DefaultPrintController.cs
- FilteredXmlReader.cs
- TableChangeProcessor.cs
- DragDrop.cs
- CalendarButtonAutomationPeer.cs
- ToolStripPanelRow.cs
- CommandBindingCollection.cs
- EditorPartChrome.cs
- DefaultBindingPropertyAttribute.cs
- TemplateNodeContextMenu.cs
- RTLAwareMessageBox.cs
- XhtmlBasicPhoneCallAdapter.cs
- InvalidCastException.cs
- CopyAction.cs
- LogStore.cs
- ValidationPropertyAttribute.cs
- SafeUserTokenHandle.cs
- latinshape.cs
- ExpressionBindings.cs
- XmlStreamNodeWriter.cs
- Point4D.cs
- BackStopAuthenticationModule.cs
- DbDataReader.cs
- Form.cs
- DateTimeSerializationSection.cs
- LoginName.cs
- ColumnMapTranslator.cs
- DecimalAnimation.cs
- WinInetCache.cs
- SymbolMethod.cs
- WizardPanel.cs
- XmlExtensionFunction.cs
- HtmlAnchor.cs
- XmlArrayItemAttributes.cs
- DescendantBaseQuery.cs
- StyleBamlTreeBuilder.cs
- TextEncodedRawTextWriter.cs
- Interlocked.cs
- DataGridViewCellCancelEventArgs.cs
- DiscreteKeyFrames.cs
- peernodeimplementation.cs
- DependencyObject.cs
- TypeDependencyAttribute.cs
- OLEDB_Util.cs
- TextDecoration.cs
- SoapSchemaImporter.cs
- SubclassTypeValidatorAttribute.cs
- SchemaDeclBase.cs
- Int32.cs
- BaseCodePageEncoding.cs
- ConsumerConnectionPoint.cs
- TreeViewHitTestInfo.cs
- TypeCollectionDesigner.xaml.cs
- DataGridCaption.cs
- XmlNodeReader.cs
- EndPoint.cs
- DropTarget.cs
- BooleanToVisibilityConverter.cs
- VScrollProperties.cs
- ThumbAutomationPeer.cs
- TypeElement.cs
- EncryptedData.cs
- BookmarkInfo.cs
- Main.cs
- XsltContext.cs
- ResXResourceSet.cs
- MatrixAnimationUsingPath.cs
- ColorTransform.cs
- OracleDataReader.cs
- Resources.Designer.cs
- DragDeltaEventArgs.cs
- SapiInterop.cs
- ReachFixedDocumentSerializerAsync.cs
- WebResourceAttribute.cs
- FromReply.cs
- DataGridRelationshipRow.cs
- SqlConnectionFactory.cs
- DiscoveryReferences.cs
- InkCanvasSelection.cs
- SQLDateTimeStorage.cs
- AmbiguousMatchException.cs
- AsymmetricAlgorithm.cs
- CngAlgorithm.cs
- SelectedGridItemChangedEvent.cs
- ObjectManager.cs
- DocumentationServerProtocol.cs
- PathData.cs
- Rotation3D.cs
- PropertiesTab.cs
- BamlResourceSerializer.cs
- MSG.cs
- FileSecurity.cs
- AppDomainManager.cs
- SmtpNegotiateAuthenticationModule.cs
- _OverlappedAsyncResult.cs
- TailCallAnalyzer.cs
- ArgIterator.cs
- Policy.cs