32 implementations of Initialize
Microsoft.CodeAnalysis (1)
SourceGeneration\IncrementalWrapper.cs (1)
31void ISourceGenerator.Initialize(GeneratorInitializationContext context) => throw ExceptionUtilities.Unreachable();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
14717public void Initialize(GeneratorInitializationContext context) { } 14762public void Initialize(GeneratorInitializationContext context) => throw new System.Exception("THROW");
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
ConvertToRecord\ConvertToRecordCodeRefactoringTests.cs (1)
4522public void Initialize(GeneratorInitializationContext context) { }
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeFixes\CodeFixServiceTests.cs (1)
607public void Initialize(GeneratorInitializationContext context)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Rename\CSharp\SourceGeneratorTests.vb (1)
84Public Sub Initialize(context As GeneratorInitializationContext) Implements ISourceGenerator.Initialize
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
DeterministicKeyBuilderTests.Helpers.cs (2)
48public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException(); 55public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException();
Microsoft.CodeAnalysis.Test.Utilities (3)
SourceGeneration\TestGenerators.cs (2)
43public void Initialize(GeneratorInitializationContext context) 63public void Initialize(GeneratorInitializationContext context)
SourceGeneration\TestSourceGenerator.cs (1)
20public void Initialize(GeneratorInitializationContext context)
Microsoft.CodeAnalysis.TestAnalyzerReference (1)
HelloWorldGenerator.cs (1)
21public void Initialize(GeneratorInitializationContext context)
Microsoft.CodeAnalysis.UnitTests (6)
Analyzers\AnalyzerFileReferenceTests.cs (6)
620public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException(); 636public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException(); 686public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException(); 692public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException(); 699public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException(); 744public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException();
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
SourceGeneration\GeneratorDriverTests.vb (2)
753Public Sub Initialize(context As GeneratorInitializationContext) Implements ISourceGenerator.Initialize 807Public Sub Initialize(context As GeneratorInitializationContext) Implements ISourceGenerator.Initialize
Microsoft.Gen.ComplianceReports (1)
ComplianceReportsGenerator.cs (1)
45public void Initialize(GeneratorInitializationContext context)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
348public void Initialize(GeneratorInitializationContext context) =>
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
348public void Initialize(GeneratorInitializationContext context) =>
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
348public void Initialize(GeneratorInitializationContext context) =>
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
348public void Initialize(GeneratorInitializationContext context) =>
Microsoft.Gen.MetricsReports (1)
MetricsReportsGenerator.cs (1)
37public void Initialize(GeneratorInitializationContext context)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
348public void Initialize(GeneratorInitializationContext context) =>
Microsoft.ML.AutoML.SourceGenerator (4)
EstimatorTypeGenerator.cs (1)
56public void Initialize(GeneratorInitializationContext context)
SearchSpaceGenerator.cs (1)
141public void Initialize(GeneratorInitializationContext context)
SweepableEstimatorFactoryGenerator.cs (1)
51public void Initialize(GeneratorInitializationContext context)
SweepableEstimatorGenerator.cs (1)
77public void Initialize(GeneratorInitializationContext context)
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Roslyn3.11.cs (1)
27public void Initialize(GeneratorInitializationContext context)
5 references to Initialize
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorAdaptor.cs (1)
42SourceGenerator.Initialize(generatorInitContext);
SourceGeneration\GeneratorContexts.cs (1)
128/// Context passed to a source generator when <see cref="ISourceGenerator.Initialize(GeneratorInitializationContext)"/> is called
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Rename\CSharp\SourceGeneratorTests.vb (1)
84Public Sub Initialize(context As GeneratorInitializationContext) Implements ISourceGenerator.Initialize
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
SourceGeneration\GeneratorDriverTests.vb (2)
753Public Sub Initialize(context As GeneratorInitializationContext) Implements ISourceGenerator.Initialize 807Public Sub Initialize(context As GeneratorInitializationContext) Implements ISourceGenerator.Initialize