6 references to postInit
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
SourceGeneration\GeneratorDriverTests.cs (6)
892
var generator = new CallbackGenerator((ic) => ic.RegisterForPostInitialization(
postInit
), (sgc) => { });
919
var generator = new CallbackGenerator((ic) => ic.RegisterForPostInitialization(
postInit
), (sgc) => { dSymbol = sgc.Compilation.GetTypeByMetadataName("D"); }, source = "public class E : D {}");
946
var generator = new CallbackGenerator((ic) => ic.RegisterForPostInitialization(
postInit
), (sgc) => { });
976
var generator = new CallbackGenerator((ic) => ic.RegisterForPostInitialization(
postInit
), (sgc) => executeCount++, source = "public class E : D {}");
1006
var generator = new CallbackGenerator((ic) => ic.RegisterForPostInitialization(
postInit
), (sgc) => Assert.True(false, "Should not execute"), source = "public class E : D {}");
1031
context.RegisterForPostInitialization(
postInit
);