7 instantiations of TestSyntaxContextReceiver
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
SourceGeneration\SyntaxAwareGeneratorTests.cs (7)
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
()),
4 references to TestSyntaxContextReceiver
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
SourceGeneration\SyntaxAwareGeneratorTests.cs (4)
100
Assert.IsType<
TestSyntaxContextReceiver
>(receiver);
289
Assert.IsType<
TestSyntaxContextReceiver
>(receiver);
291
TestSyntaxContextReceiver
testReceiver = (
TestSyntaxContextReceiver
)receiver!;