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;
///
///
/// 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.
//------------------------------------------------------------------------------
//
// 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
- TreeNodeBinding.cs
- PreProcessor.cs
- HostingEnvironmentWrapper.cs
- BamlRecordWriter.cs
- ControlBuilder.cs
- StrongNamePublicKeyBlob.cs
- Triangle.cs
- Compilation.cs
- WhiteSpaceTrimStringConverter.cs
- DbConnectionFactory.cs
- ToolTipService.cs
- HostSecurityManager.cs
- CheckBoxList.cs
- ChunkedMemoryStream.cs
- SoapExtensionTypeElementCollection.cs
- SystemSounds.cs
- JournalEntryStack.cs
- ParentControlDesigner.cs
- SynchronizedDisposablePool.cs
- JsonServiceDocumentSerializer.cs
- FileDialog_Vista_Interop.cs
- RectAnimationBase.cs
- StreamGeometry.cs
- OperationContractAttribute.cs
- SqlConnectionHelper.cs
- CodeIdentifiers.cs
- ClientUtils.cs
- CngProperty.cs
- Matrix3D.cs
- DataViewManager.cs
- EntityCommandCompilationException.cs
- StandardToolWindows.cs
- LabelInfo.cs
- ColorBlend.cs
- QueryOutputWriter.cs
- DbExpressionVisitor_TResultType.cs
- SiteMembershipCondition.cs
- TypeConverterAttribute.cs
- HasCopySemanticsAttribute.cs
- SignedXmlDebugLog.cs
- COM2PropertyPageUITypeConverter.cs
- XmlSchemaException.cs
- MonthCalendar.cs
- SecurityDocument.cs
- PageClientProxyGenerator.cs
- ReferenceEqualityComparer.cs
- UIElementParagraph.cs
- AssemblyBuilderData.cs
- QilReference.cs
- COM2TypeInfoProcessor.cs
- SQLInt64Storage.cs
- HintTextConverter.cs
- CompilerGeneratedAttribute.cs
- Manipulation.cs
- HMACMD5.cs
- FunctionImportElement.cs
- WrappedReader.cs
- PeerTransportSecurityElement.cs
- CatalogPartChrome.cs
- VBCodeProvider.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- RootBrowserWindow.cs
- SoapObjectWriter.cs
- ColorContext.cs
- DynamicActivityXamlReader.cs
- DataFormats.cs
- newinstructionaction.cs
- EpmSyndicationContentDeSerializer.cs
- Timer.cs
- SecurityUtils.cs
- AutomationProperties.cs
- TaskHelper.cs
- ConstraintStruct.cs
- SmtpClient.cs
- RuntimeHelpers.cs
- UserControl.cs
- XmlText.cs
- CollectionEditorDialog.cs
- SqlBinder.cs
- DataQuery.cs
- CompilerInfo.cs
- UncommonField.cs
- PrintingPermission.cs
- BindingValueChangedEventArgs.cs
- DataControlFieldCollection.cs
- BitmapFrameDecode.cs
- IHttpResponseInternal.cs
- ByValueEqualityComparer.cs
- ComponentSerializationService.cs
- EnvelopedSignatureTransform.cs
- PartialCachingAttribute.cs
- FixedTextPointer.cs
- DispatchOperation.cs
- CharacterBufferReference.cs
- SessionViewState.cs
- DecimalStorage.cs
- XmlFileEditor.cs
- SAPIEngineTypes.cs
- ModelProperty.cs
- DataBoundControlActionList.cs