9 references to RegisterForSyntaxNotifications
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
SourceGeneration\SyntaxAwareGeneratorTests.cs (9)
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()),
784
i.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver(callback: (ctx) =>
826
onInit: (i) => i.
RegisterForSyntaxNotifications
((SyntaxContextReceiverCreator)(() => null!)),