9 references to RegisterForSyntaxNotifications
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
SourceGeneration\SyntaxAwareGeneratorTests.cs (9)
91
onInit: (i) => i.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver()),
170
onInit: (i) => i.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver()),
194
init.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver());
197
init.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver());
202
init.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver());
213
init.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver());
280
onInit: (i) => i.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver()),
793
i.
RegisterForSyntaxNotifications
(() => new TestSyntaxContextReceiver(callback: (ctx) =>
835
onInit: (i) => i.
RegisterForSyntaxNotifications
((SyntaxContextReceiverCreator)(() => null!)),