Click or drag to resize

CodeBlockStartAnalysisContextTLanguageKindEnum Class



Context for a code block start action. A code block start action can use a CodeBlockStartAnalysisContextTLanguageKindEnum to register actions to be executed at any of:
  • completion of semantic analysis of a method body or an expression appearing outside a method body, or
  • completion of semantic analysis of a syntax node.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.DiagnosticsCodeBlockStartAnalysisContextTLanguageKindEnum

Namespace:  Microsoft.CodeAnalysis.Diagnostics
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class CodeBlockStartAnalysisContext<TLanguageKindEnum>
where TLanguageKindEnum : struct, new()

Type Parameters

TLanguageKindEnum

The CodeBlockStartAnalysisContextTLanguageKindEnum type exposes the following members.

Constructors
  NameDescription
Protected methodCodeBlockStartAnalysisContextTLanguageKindEnum
Initializes a new instance of the CodeBlockStartAnalysisContextTLanguageKindEnum class
Top
Properties
  NameDescription
Public propertyCancellationToken
Token to check for requested cancellation of the analysis.
Public propertyCodeBlock
Method body or expression subject to analysis.
Public propertyOptions
Options specified for the analysis.
Public propertyOwningSymbol
ISymbol for which the code block provides a definition or value.
Public propertySemanticModel
SemanticModel that can provide semantic information about the SyntaxNodes in the code block.
Top
Methods
See Also