Click or drag to resize

SemanticModelAnalysisContext Class



Context for a semantic model action. A semantic model action operates on the SemanticModel of a code document, and can use a SemanticModelAnalysisContext to report Diagnostics about the model.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysis.DiagnosticsSemanticModelAnalysisContext

Namespace:  Microsoft.CodeAnalysis.Diagnostics
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class SemanticModelAnalysisContext : ValueType

The SemanticModelAnalysisContext type exposes the following members.

Constructors
  NameDescription
Public methodSemanticModelAnalysisContext
Initializes a new instance of the SemanticModelAnalysisContext class
Top
Properties
  NameDescription
Public propertyCancellationToken
Token to check for requested cancellation of the analysis.
Public propertyOptions
Options specified for the analysis.
Public propertySemanticModel
SemanticModel that is the subject of the analysis.
Top
Methods
  NameDescription
Public methodReportDiagnostic
Report a Diagnostic about a SemanticModel.
Top
See Also