In This Article

CSharpContextLocations Class

Contains common context locations for a C# language.

public static class CSharpContextLocations
Inheritance:
object object

Properties

Attribute

Gets the IDotNetContextLocation that represents an attribute specification.

public static IDotNetContextLocation Attribute { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

Comment

Gets the IDotNetContextLocation that represents a comment specification.

public static IDotNetContextLocation Comment { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

DocumentationComment

Gets the IDotNetContextLocation that represents a documentation comment specification.

public static IDotNetContextLocation DocumentationComment { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

ExpressionStart

Gets the IDotNetContextLocation that represents an expression start specification.

public static IDotNetContextLocation ExpressionStart { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

ImplicitLocalVariableType

Gets the IDotNetContextLocation that represents an implicit local variable type.

public static IDotNetContextLocation ImplicitLocalVariableType { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

LiteralCharacter

Gets the IDotNetContextLocation that represents a literal character specification.

public static IDotNetContextLocation LiteralCharacter { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

LiteralString

Gets the IDotNetContextLocation that represents a literal string specification.

public static IDotNetContextLocation LiteralString { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

LocalVariableType

Gets the IDotNetContextLocation that represents a local variable type name specification.

public static IDotNetContextLocation LocalVariableType { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

ObjectCreationExpressionMemberName

Gets the IDotNetContextLocation that represents a member name target within an object creation expression.

public static IDotNetContextLocation ObjectCreationExpressionMemberName { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

ObjectCreationExpressionType

Gets the IDotNetContextLocation that represents a type name specification within an object creation expression.

public static IDotNetContextLocation ObjectCreationExpressionType { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

PreprocessorDirective

Gets the IDotNetContextLocation that represents a preprocessor directive specification.

public static IDotNetContextLocation PreprocessorDirective { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

ReturnType

Gets the IDotNetContextLocation that represents a return type name specification.

public static IDotNetContextLocation ReturnType { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

Type

Gets the IDotNetContextLocation that represents a type name specification.

public static IDotNetContextLocation Type { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

UsingDirectiveAliasedNamespaceOrType

Gets the IDotNetContextLocation that represents an aliased namespace/type specification within a using directive.

public static IDotNetContextLocation UsingDirectiveAliasedNamespaceOrType { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

UsingDirectiveNamespace

Gets the IDotNetContextLocation that represents a namespace specification within a using directive.

public static IDotNetContextLocation UsingDirectiveNamespace { get; }

Property Value

IDotNetContextLocation:

The IDotNetContextLocation value.

Inherited Members