9 references to RegisterForSyntaxNotifications
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
SourceGeneration\SyntaxAwareGeneratorTests.cs (8)
92
onInit: (i) => i.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver()),
171
onInit: (i) => i.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver()),
195
init.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver());
198
init.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver());
203
init.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver());
214
init.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver());
281
onInit: (i) => i.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver()),
826
onInit: (i) => i.
RegisterForSyntaxNotifications
((SyntaxContextReceiverCreator)(() => null!)),
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Roslyn3.11.cs (1)
37
context.
RegisterForSyntaxNotifications
(static () => new SyntaxContextReceiver(CancellationToken.None));