2 overrides of CreateCompilation
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
BasicDeterministicKeyBuilderTests.cs (1)
36protected override VisualBasicCompilation CreateCompilation(SyntaxTree[] syntaxTrees, MetadataReference[]? references = null, VisualBasicCompilationOptions? options = null)
CSharpDeterministicKeyBuilderTests.cs (1)
35protected override CSharpCompilation CreateCompilation(SyntaxTree[] syntaxTrees, MetadataReference[]? references = null, CSharpCompilationOptions? options = null) =>
10 references to CreateCompilation
Microsoft.CodeAnalysis.Rebuild.UnitTests (10)
DeterministicKeyBuilderTests.cs (10)
170var compilation = CreateCompilation(syntaxTrees: new SyntaxTree[] { }, options: (TCompilationOptions)options); 184var compilation = CreateCompilation(syntaxTrees: new SyntaxTree[] { syntaxTree }); 200var compilation = CreateCompilation(syntaxTrees: new SyntaxTree[] { }, references: new[] { reference }); 244var compilation = CreateCompilation(new SyntaxTree[] { }); 284var compilation = CreateCompilation(new[] { syntaxTree }); 351var compilation = CreateCompilation(syntaxTrees: new SyntaxTree[] { }, options: options); 734CreateCompilation(new SyntaxTree[] { }), 759CreateCompilation(new SyntaxTree[] { }), 778CreateCompilation(Array.Empty<SyntaxTree>()), 804CreateCompilation(Array.Empty<SyntaxTree>()),