Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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 ;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CellCreator.cs
- PerformanceCounterManager.cs
- SessionIDManager.cs
- DynamicResourceExtension.cs
- EdmToObjectNamespaceMap.cs
- WsatExtendedInformation.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- IsolatedStorageFilePermission.cs
- ControlCachePolicy.cs
- RuntimeConfig.cs
- UserNameSecurityToken.cs
- ParseChildrenAsPropertiesAttribute.cs
- MenuItemBinding.cs
- TimeSpanValidatorAttribute.cs
- OleDbPermission.cs
- ItemDragEvent.cs
- SnapshotChangeTrackingStrategy.cs
- _AutoWebProxyScriptEngine.cs
- SwitchAttribute.cs
- FileChangeNotifier.cs
- MutexSecurity.cs
- DataGridViewColumnDesigner.cs
- MappingException.cs
- WebHttpSecurityElement.cs
- PresentationTraceSources.cs
- Canvas.cs
- Line.cs
- IsolationInterop.cs
- ImageFormat.cs
- HitTestDrawingContextWalker.cs
- ImportStoreException.cs
- DbDataReader.cs
- QueryOperationResponseOfT.cs
- DrawingVisual.cs
- NameSpaceExtractor.cs
- HttpModule.cs
- ProcessModule.cs
- ImplicitInputBrush.cs
- RepeatInfo.cs
- HotCommands.cs
- CompiledQueryCacheEntry.cs
- RuleRefElement.cs
- SortQuery.cs
- ContentPlaceHolderDesigner.cs
- DataGridViewColumnTypePicker.cs
- HttpProfileBase.cs
- storepermission.cs
- HttpResponseHeader.cs
- TypeElement.cs
- PropertyExpression.cs
- ListViewItemMouseHoverEvent.cs
- ViewKeyConstraint.cs
- WindowsSysHeader.cs
- GetMemberBinder.cs
- SupportingTokenProviderSpecification.cs
- DataGridViewElement.cs
- SuppressIldasmAttribute.cs
- ProfileEventArgs.cs
- DesignerMetadata.cs
- FileVersionInfo.cs
- SyndicationDeserializer.cs
- ReferentialConstraintRoleElement.cs
- DiscoveryDocumentReference.cs
- Attributes.cs
- WebServiceParameterData.cs
- ReaderOutput.cs
- GlobalEventManager.cs
- WebBaseEventKeyComparer.cs
- SslStreamSecurityBindingElement.cs
- BuildProviderCollection.cs
- __ConsoleStream.cs
- VirtualizingPanel.cs
- GenericUriParser.cs
- WorkflowMessageEventHandler.cs
- SqlCacheDependencyDatabaseCollection.cs
- RtfControlWordInfo.cs
- UidManager.cs
- TextEditorTyping.cs
- DbProviderFactoriesConfigurationHandler.cs
- PriorityChain.cs
- AuthorizationRuleCollection.cs
- VariantWrapper.cs
- CommandDevice.cs
- ImageMapEventArgs.cs
- DurableOperationContext.cs
- ArrayElementGridEntry.cs
- PaintValueEventArgs.cs
- ContractMethodParameterInfo.cs
- TrustLevelCollection.cs
- StackSpiller.Bindings.cs
- BitmapPalettes.cs
- JsonFormatGeneratorStatics.cs
- Marshal.cs
- IndentedWriter.cs
- TreeNodeCollection.cs
- DataProviderNameConverter.cs
- ExpandCollapsePattern.cs
- LabelEditEvent.cs
- RoleService.cs
- SortExpressionBuilder.cs