GeneratorExecutionContext.SyntaxContextReceiver Property

Definition

If the generator registered an ISyntaxContextReceiver during initialization, this will be the instance created for this generation pass.

public Microsoft.CodeAnalysis.ISyntaxContextReceiver? SyntaxContextReceiver { get; }
member this.SyntaxContextReceiver : Microsoft.CodeAnalysis.ISyntaxContextReceiver
Public ReadOnly Property SyntaxContextReceiver As ISyntaxContextReceiver

Property Value

Applies to