Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeStatement.cs / 1305376 / 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;
///
///
/// Represents a statement.
///
///
[
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;
///
///
/// The line the statement occurs on.
///
///
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UnhandledExceptionEventArgs.cs
- DragCompletedEventArgs.cs
- UnknownBitmapDecoder.cs
- ConnectionManagementElementCollection.cs
- MimeMapping.cs
- listviewsubitemcollectioneditor.cs
- ChannelManager.cs
- sqlser.cs
- StoreItemCollection.Loader.cs
- SafeFileMappingHandle.cs
- TemplateBuilder.cs
- ComponentCollection.cs
- Utils.cs
- NegotiateStream.cs
- FunctionOverloadResolver.cs
- StorageSetMapping.cs
- IItemProperties.cs
- Visual3DCollection.cs
- ArgumentNullException.cs
- MemoryFailPoint.cs
- ZipFileInfoCollection.cs
- ServiceHttpModule.cs
- QualificationDataItem.cs
- ColumnMapCopier.cs
- ImpersonateTokenRef.cs
- ClientTargetCollection.cs
- Calendar.cs
- AutoFocusStyle.xaml.cs
- KerberosSecurityTokenProvider.cs
- SmtpNtlmAuthenticationModule.cs
- ACE.cs
- AuthenticationManager.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- UIElement.cs
- RegexBoyerMoore.cs
- ManagedFilter.cs
- DSASignatureFormatter.cs
- AccessControlList.cs
- MarshalDirectiveException.cs
- AssociatedControlConverter.cs
- Brush.cs
- XmlUnspecifiedAttribute.cs
- ReferenceEqualityComparer.cs
- WebConvert.cs
- PositiveTimeSpanValidatorAttribute.cs
- Mutex.cs
- DocumentPage.cs
- IisTraceListener.cs
- SpeechSynthesizer.cs
- FixedSOMLineCollection.cs
- ExpressionPrinter.cs
- X509UI.cs
- WindowsBrush.cs
- ContentElement.cs
- DiscoveryReferences.cs
- Viewport3DVisual.cs
- BaseCAMarshaler.cs
- ConfigXmlElement.cs
- Renderer.cs
- DurableServiceAttribute.cs
- VisualTarget.cs
- Pair.cs
- DataGridColumnCollection.cs
- WindowProviderWrapper.cs
- WindowsStatusBar.cs
- PlanCompilerUtil.cs
- ListDictionary.cs
- XmlLoader.cs
- SoundPlayerAction.cs
- ToolStripMenuItemCodeDomSerializer.cs
- ContainerVisual.cs
- DirectoryRedirect.cs
- CompressionTransform.cs
- ApplicationHost.cs
- HotSpot.cs
- DbMetaDataFactory.cs
- TypeInitializationException.cs
- GZipDecoder.cs
- ScrollItemPattern.cs
- PageBreakRecord.cs
- SQLInt16.cs
- StyleXamlTreeBuilder.cs
- DataServiceHostWrapper.cs
- TextBoxAutomationPeer.cs
- TextInfo.cs
- ToolTipAutomationPeer.cs
- Int32CAMarshaler.cs
- ByteKeyFrameCollection.cs
- DesignerHierarchicalDataSourceView.cs
- InteropExecutor.cs
- contentDescriptor.cs
- BridgeDataRecord.cs
- AssemblyAttributesGoHere.cs
- DataGridRowClipboardEventArgs.cs
- MailMessageEventArgs.cs
- AppDomainUnloadedException.cs
- ParsedAttributeCollection.cs
- Menu.cs
- GeneralTransform2DTo3D.cs
- SettingsContext.cs