In This Article

CSharpContextLocations Class

Contains common context locations for a C# language.

public static class CSharpContextLocations
Inheritance:
object object

Properties

Attribute

The IDotNetContextLocation that represents an attribute specification.

public static IDotNetContextLocation Attribute { get; }

Property Value

IDotNetContextLocation

Comment

The IDotNetContextLocation that represents a comment specification.

public static IDotNetContextLocation Comment { get; }

Property Value

IDotNetContextLocation

DocumentationComment

The IDotNetContextLocation that represents a documentation comment specification.

public static IDotNetContextLocation DocumentationComment { get; }

Property Value

IDotNetContextLocation

ExpressionStart

The IDotNetContextLocation that represents an expression start specification.

public static IDotNetContextLocation ExpressionStart { get; }

Property Value

IDotNetContextLocation

ImplicitLocalVariableType

The IDotNetContextLocation that represents an implicit local variable type.

public static IDotNetContextLocation ImplicitLocalVariableType { get; }

Property Value

IDotNetContextLocation

LiteralCharacter

The IDotNetContextLocation that represents a literal character specification.

public static IDotNetContextLocation LiteralCharacter { get; }

Property Value

IDotNetContextLocation

LiteralString

The IDotNetContextLocation that represents a literal string specification.

public static IDotNetContextLocation LiteralString { get; }

Property Value

IDotNetContextLocation

LocalVariableType

The IDotNetContextLocation that represents a local variable type name specification.

public static IDotNetContextLocation LocalVariableType { get; }

Property Value

IDotNetContextLocation

ObjectCreationExpressionMemberName

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

public static IDotNetContextLocation ObjectCreationExpressionMemberName { get; }

Property Value

IDotNetContextLocation

ObjectCreationExpressionType

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

public static IDotNetContextLocation ObjectCreationExpressionType { get; }

Property Value

IDotNetContextLocation

PreprocessorDirective

The IDotNetContextLocation that represents a preprocessor directive specification.

public static IDotNetContextLocation PreprocessorDirective { get; }

Property Value

IDotNetContextLocation

ReturnType

The IDotNetContextLocation that represents a return type name specification.

public static IDotNetContextLocation ReturnType { get; }

Property Value

IDotNetContextLocation

Type

The IDotNetContextLocation that represents a type name specification.

public static IDotNetContextLocation Type { get; }

Property Value

IDotNetContextLocation

UsingDirectiveAliasedNamespaceOrType

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

public static IDotNetContextLocation UsingDirectiveAliasedNamespaceOrType { get; }

Property Value

IDotNetContextLocation

UsingDirectiveNamespace

The IDotNetContextLocation that represents a namespace specification within a using directive.

public static IDotNetContextLocation UsingDirectiveNamespace { get; }

Property Value

IDotNetContextLocation

Inherited Members