Click or drag to resize

OperationBlockAnalysisContext Class



Context for an operation block action or operation block end action. An operation block action or operation block end action can use an OperationAnalysisContext to report Diagnostics about an operation block.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysis.DiagnosticsOperationBlockAnalysisContext

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 OperationBlockAnalysisContext : ValueType

The OperationBlockAnalysisContext type exposes the following members.

Constructors
  NameDescription
Public methodOperationBlockAnalysisContext
Initializes a new instance of the OperationBlockAnalysisContext class
Top
Properties
  NameDescription
Public propertyCancellationToken
Token to check for requested cancellation of the analysis.
Public propertyCompilation
Compilation containing the operation block.
Public propertyOperationBlocks
Code block that is the subject of the analysis.
Public propertyOptions
Options specified for the analysis.
Public propertyOwningSymbol
ISymbol for which the code block provides a definition or value.
Top
Methods
  NameDescription
Public methodReportDiagnostic
Report a Diagnostic about a code block.
Top
See Also