1 write to SyntaxContextReceiver
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorContexts.cs (1)
31
SyntaxContextReceiver
= (syntaxReceiver is SyntaxContextReceiverAdaptor) ? null : syntaxReceiver;
10 references to SyntaxContextReceiver
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorContexts.cs (1)
176
/// created by accessing the <see cref="GeneratorExecutionContext.
SyntaxContextReceiver
"/> property. Any information that was collected by the receiver can be
SourceGeneration\ISyntaxReceiver.cs (1)
60
/// created instance via the <see cref="GeneratorExecutionContext.
SyntaxContextReceiver
"/> property. The
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
SourceGeneration\SyntaxAwareGeneratorTests.cs (7)
93
onExecute: (e) => receiver = e.
SyntaxContextReceiver
119
onExecute: (e) => receiver = e.
SyntaxContextReceiver
145
onExecute: (e) => { syntaxReceiver = e.SyntaxReceiver; contextReceiver = e.
SyntaxContextReceiver
; }
172
onExecute: (e) => { syntaxReceiver = e.SyntaxReceiver; contextReceiver = e.
SyntaxContextReceiver
; }
282
onExecute: (e) => receiver = e.
SyntaxContextReceiver
590
onExecute: (e) => { syntaxRx = e.SyntaxReceiver; syntaxContextRx = e.
SyntaxContextReceiver
; }
827
onExecute: (e) => { syntaxRx = e.SyntaxReceiver; syntaxContextRx = e.
SyntaxContextReceiver
; }
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Roslyn3.11.cs (1)
26
if (context.
SyntaxContextReceiver
is not SyntaxContextReceiver receiver || receiver.ClassDeclarations.Count == 0)