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
- ResourceCodeDomSerializer.cs
- CompositeClientFormatter.cs
- Button.cs
- AsymmetricKeyExchangeFormatter.cs
- DriveNotFoundException.cs
- ImageSourceValueSerializer.cs
- ObjectStateFormatter.cs
- SessionPageStateSection.cs
- ScrollPattern.cs
- CapabilitiesRule.cs
- _CookieModule.cs
- SQLUtility.cs
- InvalidOleVariantTypeException.cs
- LocationSectionRecord.cs
- TcpAppDomainProtocolHandler.cs
- SapiRecognizer.cs
- VBIdentifierDesigner.xaml.cs
- TextTreeUndoUnit.cs
- TypeReference.cs
- DataGridViewLinkColumn.cs
- XDRSchema.cs
- ContentPlaceHolder.cs
- XmlBindingWorker.cs
- IntSecurity.cs
- FilteredXmlReader.cs
- XmlCharType.cs
- ProfileServiceManager.cs
- DropDownList.cs
- JumpItem.cs
- InvokeHandlers.cs
- ListViewItem.cs
- TableHeaderCell.cs
- WebCodeGenerator.cs
- DbFunctionCommandTree.cs
- WebPartConnectVerb.cs
- SignedXml.cs
- X509CertificateInitiatorClientCredential.cs
- FlowDocumentReaderAutomationPeer.cs
- SharedPersonalizationStateInfo.cs
- ProtocolsConfigurationHandler.cs
- _ScatterGatherBuffers.cs
- IdentityNotMappedException.cs
- DispatcherExceptionEventArgs.cs
- HuffmanTree.cs
- TextCharacters.cs
- CodeMemberField.cs
- Point3DAnimation.cs
- TypeBuilder.cs
- WSUtilitySpecificationVersion.cs
- PageBreakRecord.cs
- PageStatePersister.cs
- _Events.cs
- _NetRes.cs
- TemplateControlParser.cs
- NetMsmqBinding.cs
- ListMarkerSourceInfo.cs
- BitmapEncoder.cs
- KoreanLunisolarCalendar.cs
- AnimationClock.cs
- Schema.cs
- XPathNode.cs
- AmbientLight.cs
- CodeChecksumPragma.cs
- WebMessageEncodingBindingElement.cs
- CollectionViewProxy.cs
- EdmMember.cs
- GeometryGroup.cs
- StringArrayEditor.cs
- LabelExpression.cs
- coordinator.cs
- TextServicesCompartment.cs
- ParagraphVisual.cs
- ThreadStaticAttribute.cs
- AutomationPropertyInfo.cs
- ActivityExecutor.cs
- ClientCredentialsElement.cs
- Point.cs
- SelectionChangedEventArgs.cs
- AutomationFocusChangedEventArgs.cs
- AttributedMetaModel.cs
- ConfigurationPermission.cs
- DbParameterCollection.cs
- HtmlHistory.cs
- BaseValidator.cs
- PtsCache.cs
- NestPullup.cs
- DashStyles.cs
- MatrixCamera.cs
- GenericIdentity.cs
- ValidatorCompatibilityHelper.cs
- RelatedView.cs
- SafeNativeMethods.cs
- RegistryDataKey.cs
- SoapRpcMethodAttribute.cs
- SoapSchemaImporter.cs
- CharacterBuffer.cs
- ByteStreamGeometryContext.cs
- SizeConverter.cs
- ResourceReader.cs
- DbProviderFactories.cs