SyntaxNodeAnalysisContext Struct   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Context for a syntax node action. A syntax node action can use a SyntaxNodeAnalysisContext to report Diagnostics for a SyntaxNode.
public value class SyntaxNodeAnalysisContext
	public struct SyntaxNodeAnalysisContext
	public readonly struct SyntaxNodeAnalysisContext
	type SyntaxNodeAnalysisContext = struct
	Public Structure SyntaxNodeAnalysisContext
		- Inheritance
 - 
				SyntaxNodeAnalysisContext
 
Constructors
Properties
| CancellationToken | 
		 Token to check for requested cancellation of the analysis.  | 
        	
| Compilation | 
		 Compilation containing the SyntaxNode.  | 
        	
| ContainingSymbol | 
		 ISymbol for the declaration containing the syntax node.  | 
        	
| FilterSpan | 
		 Optional filter span within the FilterTree for which to compute diagnostics.
  | 
        	
| FilterTree | 
		 Syntax tree for the Node being analyzed.  | 
        	
| IsGeneratedCode | 
		 Indicates if the Node is generated code.  | 
        	
| Node | 
		 SyntaxNode that is the subject of the analysis.  | 
        	
| Options | 
		 Options specified for the analysis.  | 
        	
| SemanticModel | 
		 SemanticModel that can provide semantic information about the SyntaxNode.  | 
        	
Methods
| ReportDiagnostic(Diagnostic) | 
		 Report a Diagnostic about a SyntaxNode.  |