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
- InternalControlCollection.cs
- PropertyChange.cs
- Focus.cs
- RoutedEventValueSerializer.cs
- XmlSchemaException.cs
- BackgroundFormatInfo.cs
- HtmlForm.cs
- DateTimePickerDesigner.cs
- NegatedCellConstant.cs
- TextBlock.cs
- RectangleHotSpot.cs
- PassportIdentity.cs
- DeviceContexts.cs
- ProtectedConfigurationSection.cs
- XmlnsPrefixAttribute.cs
- DataSetUtil.cs
- StructureChangedEventArgs.cs
- Base64Encoder.cs
- AbstractDataSvcMapFileLoader.cs
- DataGridViewRowStateChangedEventArgs.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- ParallelTimeline.cs
- EndOfStreamException.cs
- IxmlLineInfo.cs
- RefreshPropertiesAttribute.cs
- RecordManager.cs
- AccessText.cs
- SystemIcons.cs
- LockRecursionException.cs
- SqlStream.cs
- ISessionStateStore.cs
- HashStream.cs
- RemoteWebConfigurationHostStream.cs
- BindableAttribute.cs
- EUCJPEncoding.cs
- EnvelopeVersion.cs
- DataGridItemCollection.cs
- ParserStreamGeometryContext.cs
- ConsoleCancelEventArgs.cs
- AQNBuilder.cs
- CodeDOMProvider.cs
- StringStorage.cs
- InstanceValue.cs
- PrtTicket_Base.cs
- CodeTypeMemberCollection.cs
- SystemInfo.cs
- BitmapEffectDrawing.cs
- StringReader.cs
- ProcessManager.cs
- ContentAlignmentEditor.cs
- MemberMaps.cs
- InternalDispatchObject.cs
- newinstructionaction.cs
- ToolStripManager.cs
- Table.cs
- KeyFrames.cs
- XmlNamespaceMappingCollection.cs
- RangeBaseAutomationPeer.cs
- InvalidateEvent.cs
- SByte.cs
- WebService.cs
- DragStartedEventArgs.cs
- TimeIntervalCollection.cs
- QuotedPrintableStream.cs
- GridViewHeaderRowPresenter.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- DesignerSelectionListAdapter.cs
- ProvidePropertyAttribute.cs
- ButtonChrome.cs
- WebPartEditorCancelVerb.cs
- QilStrConcatenator.cs
- WebFormDesignerActionService.cs
- XamlRtfConverter.cs
- ObjectSet.cs
- TimeSpanHelper.cs
- NetStream.cs
- BaseValidator.cs
- KnownBoxes.cs
- BinaryParser.cs
- TypeConverterAttribute.cs
- HttpListenerPrefixCollection.cs
- ListViewItemSelectionChangedEvent.cs
- StaticSiteMapProvider.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- DataAdapter.cs
- ButtonField.cs
- SettingsContext.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- FlowStep.cs
- Misc.cs
- Itemizer.cs
- WindowsFormsHostPropertyMap.cs
- OptimisticConcurrencyException.cs
- ArgIterator.cs
- DynamicPropertyHolder.cs
- AppModelKnownContentFactory.cs
- SharedConnectionInfo.cs
- BaseValidator.cs
- WebPartDisplayModeCollection.cs
- EntityKeyElement.cs