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