Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeStatement.cs / 1305376 / CodeStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; using System.Runtime.Serialization; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; using System.Runtime.Serialization; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- CharStorage.cs
- LineBreakRecord.cs
- MSAAWinEventWrap.cs
- ParserExtension.cs
- Vector3D.cs
- MultiViewDesigner.cs
- InternalMappingException.cs
- StructuredProperty.cs
- CanonicalXml.cs
- AutoGeneratedFieldProperties.cs
- WSTrustDec2005.cs
- AsymmetricAlgorithm.cs
- ToolStripOverflow.cs
- WebServiceParameterData.cs
- VirtualizingStackPanel.cs
- FunctionQuery.cs
- FontFamily.cs
- SessionPageStateSection.cs
- DrawListViewItemEventArgs.cs
- NetworkInformationException.cs
- FormsAuthenticationCredentials.cs
- PrePrepareMethodAttribute.cs
- ConfigXmlWhitespace.cs
- VirtualDirectoryMapping.cs
- DragEventArgs.cs
- TreeIterators.cs
- Page.cs
- PassportAuthentication.cs
- Hex.cs
- DeviceFilterDictionary.cs
- MasterPageCodeDomTreeGenerator.cs
- MessageQueueAccessControlEntry.cs
- ISFClipboardData.cs
- TextServicesCompartmentContext.cs
- DataConnectionHelper.cs
- WorkflowPrinting.cs
- RandomNumberGenerator.cs
- ActivityExecutionContext.cs
- Triplet.cs
- EntityReference.cs
- SiteMap.cs
- WebServiceFault.cs
- Trace.cs
- DataRowCollection.cs
- ConstraintConverter.cs
- DocumentPageViewAutomationPeer.cs
- indexingfiltermarshaler.cs
- LinqDataSourceContextData.cs
- Inflater.cs
- HeaderedItemsControl.cs
- InputBindingCollection.cs
- TextDecorationUnitValidation.cs
- CompensationToken.cs
- RoleGroupCollectionEditor.cs
- TemplateKeyConverter.cs
- ServicesUtilities.cs
- DelimitedListTraceListener.cs
- FormCollection.cs
- FastEncoderWindow.cs
- XpsFontSubsetter.cs
- DesignerRegion.cs
- DatePickerAutomationPeer.cs
- SspiNegotiationTokenProvider.cs
- ParameterDataSourceExpression.cs
- AlphaSortedEnumConverter.cs
- InkCanvasFeedbackAdorner.cs
- ColumnMapVisitor.cs
- PointConverter.cs
- ComponentChangingEvent.cs
- XdrBuilder.cs
- AnnotationAdorner.cs
- PolyQuadraticBezierSegment.cs
- FormView.cs
- SecureConversationSecurityTokenParameters.cs
- Propagator.cs
- ManifestResourceInfo.cs
- StatusStrip.cs
- NamedPipeHostedTransportConfiguration.cs
- SqlClientWrapperSmiStreamChars.cs
- Table.cs
- DataSourceView.cs
- PropertyTabChangedEvent.cs
- DllHostInitializer.cs
- FileInfo.cs
- ReadOnlyAttribute.cs
- PermissionSetEnumerator.cs
- RectangleGeometry.cs
- ToolboxItem.cs
- TypefaceMetricsCache.cs
- EdmRelationshipRoleAttribute.cs
- TypeSystem.cs
- ZipIOModeEnforcingStream.cs
- MDIControlStrip.cs
- MultiTrigger.cs
- HTTPNotFoundHandler.cs
- ClientRuntimeConfig.cs
- WS2007HttpBindingElement.cs
- _LazyAsyncResult.cs
- EntityDesignerUtils.cs
- XamlSerializerUtil.cs