31 references to GetDeterministicKey
Microsoft.CodeAnalysis (1)
CommandLine\CommonCompiler.cs (1)
1797
var key = compilation.
GetDeterministicKey
(
Microsoft.CodeAnalysis.Rebuild.UnitTests (25)
BasicDeterministicKeyBuilderTests.cs (3)
91
var key = compilation.
GetDeterministicKey
(additionalTexts: ImmutableArray.Create<AdditionalText>(additionalText));
124
var key = compilation.
GetDeterministicKey
();
437
var key = compilation.
GetDeterministicKey
(options: DeterministicKeyOptions.IgnoreToolVersions);
CSharpDeterministicKeyBuilderTests.cs (8)
81
var key = compilation.
GetDeterministicKey
(options: DeterministicKeyOptions.IgnoreToolVersions);
162
var key = compilation.
GetDeterministicKey
(options: options);
192
var key = compilation.
GetDeterministicKey
(additionalTexts: ImmutableArray.Create<AdditionalText>(additionalText));
219
var key = compilation.
GetDeterministicKey
(options: DeterministicKeyOptions.Default);
606
var key = compilation.
GetDeterministicKey
(emitOptions: EmitOptions, sourceLinkStream: sourceLinkStream, options: DeterministicKeyOptions.IgnoreToolVersions);
650
var key = compilation.
GetDeterministicKey
(resources: resources, options: DeterministicKeyOptions.IgnoreToolVersions);
693
var key = compilation.
GetDeterministicKey
(options: DeterministicKeyOptions.IgnoreToolVersions);
736
var key = compilation.
GetDeterministicKey
(options: DeterministicKeyOptions.IgnoreToolVersions);
DeterministicKeyBuilderTests.cs (14)
173
var property = GetJsonProperty(compilation.
GetDeterministicKey
(), "compilation.options");
179
var property = GetJsonProperty(compilation.
GetDeterministicKey
(), "compilation");
187
var key = compilation.
GetDeterministicKey
();
198
var property = GetJsonProperty(compilation.
GetDeterministicKey
(), "compilation.references");
222
var property = GetJsonProperty(compilation.
GetDeterministicKey
(pathMap: pathMap), "compilation.syntaxTrees");
228
var property = GetJsonProperty(compilation.
GetDeterministicKey
(additionalTexts: additionalTexts, pathMap: pathMap), "additionalTexts");
234
var property = GetJsonProperty(compilation.
GetDeterministicKey
(analyzers: analyzers.ToImmutableArray()), "analyzers");
240
var property = GetJsonProperty(compilation.
GetDeterministicKey
(generators: generators.ToImmutableArray()), "generators");
250
var key = compilation.
GetDeterministicKey
(
297
var key = compilation.
GetDeterministicKey
();
364
var key = compilation.
GetDeterministicKey
();
366
Assert.Equal(key, compilation.
GetDeterministicKey
());
370
key = compilation.
GetDeterministicKey
();
371
Assert.NotEqual(key, compilation.
GetDeterministicKey
());
VBCSCompiler (1)
src\Compilers\Server\VBCSCompiler\CompilationCacheUtilities.cs (1)
54
deterministicKey = compilation.
GetDeterministicKey
(
VBCSCompiler.UnitTests (4)
CompilationCacheTests.cs (4)
463
var keyWithoutSourceLink = compilation.
GetDeterministicKey
(
468
var keyWithSourceLink = compilation.
GetDeterministicKey
(
487
var keyA = compilation.
GetDeterministicKey
(
492
var keyB = compilation.
GetDeterministicKey
(