Provides the base requirements for information about a .NET language context of a certain offset within an IText
Properties
ArgumentIndex
Gets the index of the current argument, if known, when the context is for the containing invocation.
Property Value
- int?:
The index of the current argument, if known, when the context is for the containing invocation.
ArgumentListSnapshotOffset
Gets the Text
Property Value
- Text
Snapshot ?:Offset The Text
Snapshot of the argument list, if known, when the context is for the containing invocation.Offset
ArgumentSnapshotOffset
Gets the Text
Property Value
- Text
Snapshot ?:Offset The Text
Snapshot of the current argument, if known, when the context is for the containing invocation.Offset
ContainingAstNode
Gets the IAst
Property Value
- IAst
Node : The IAst
Node that contains the SnapshotOffset .
ContainingAstTypeDeclaration
Gets the AST Type
Property Value
- Type
Declaration : The AST Type
Declaration that contains the SnapshotOffset , if any.
InitializationSnapshotRange
Gets the Text
Property Value
- Text
Snapshot ?:Range The Text
Snapshot with which the context was initialized.Range
Kind
Gets the Dot
Property Value
- Dot
Net :Context Kind The Dot
Net indicating the kind of context.Context Kind
Location
Gets an optional IDot
Property Value
- IDot
Net :Context Location An optional IDot
Net that provides more location information about the context.Context Location
ProjectAssembly
Gets the IProject
Property Value
- IProject
Assembly : The IProject
Assembly with which this context is associated.
SnapshotOffset
Gets the Text
Property Value
- Text
Snapshot :Offset The Text
Snapshot for which this context was created.Offset
TargetExpression
Gets the target AST Expression for the context, if known.
Property Value
- Expression:
The target AST Expression for the context, if known.
TargetSnapshotOffset
Gets the Text
Property Value
- Text
Snapshot ?:Offset The Text
Snapshot , if known, against which to use as context for the resolver.Offset
Methods
Resolve()
Uses the IResolver on the Project
Returns
- IResolver
Result :Set The IResolver
Result that was returned by the resolver.Set