Click or drag to resize

OperationBlockStartAnalysisContext Class



Context for an operation block start action. An operation block start action can use an OperationBlockStartAnalysisContext 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 an operation.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.DiagnosticsOperationBlockStartAnalysisContext

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 OperationBlockStartAnalysisContext

The OperationBlockStartAnalysisContext type exposes the following members.

Constructors
  NameDescription
Protected methodOperationBlockStartAnalysisContext
Initializes a new instance of the OperationBlockStartAnalysisContext class
Top
Properties
  NameDescription
Public propertyCancellationToken
Token to check for requested cancellation of the analysis.
Public propertyCompilation
Compilation containing the operation block.
Public propertyOperationBlocks
Method body and/or expressions subject to analysis.
Public propertyOptions
Options specified for the analysis.
Public propertyOwningSymbol
ISymbol for which the code block provides a definition or value.
Top
Methods
See Also