21 references to GetDeterministicKey
Microsoft.CodeAnalysis (1)
CommandLine\CommonCompiler.cs (1)
1752
var key = compilation.
GetDeterministicKey
(additionalTexts, analyzers, generators, pathMap, emitOptions);
Microsoft.CodeAnalysis.Rebuild.UnitTests (20)
BasicDeterministicKeyBuilderTests.cs (2)
91
var key = compilation.
GetDeterministicKey
(additionalTexts: ImmutableArray.Create<AdditionalText>(additionalText));
124
var key = compilation.
GetDeterministicKey
();
CSharpDeterministicKeyBuilderTests.cs (4)
81
var key = compilation.
GetDeterministicKey
(options: DeterministicKeyOptions.IgnoreToolVersions);
157
var key = compilation.
GetDeterministicKey
(options: options);
196
var key = compilation.
GetDeterministicKey
(additionalTexts: ImmutableArray.Create<AdditionalText>(additionalText));
223
var key = compilation.
GetDeterministicKey
(options: DeterministicKeyOptions.Default);
DeterministicKeyBuilderTests.cs (14)
171
var property = GetJsonProperty(compilation.
GetDeterministicKey
(), "compilation.options");
177
var property = GetJsonProperty(compilation.
GetDeterministicKey
(), "compilation");
185
var property = GetJsonProperty(compilation.
GetDeterministicKey
(), "compilation.syntaxTrees");
193
var property = GetJsonProperty(compilation.
GetDeterministicKey
(), "compilation.references");
217
var property = GetJsonProperty(compilation.
GetDeterministicKey
(pathMap: pathMap), "compilation.syntaxTrees");
223
var property = GetJsonProperty(compilation.
GetDeterministicKey
(additionalTexts: additionalTexts, pathMap: pathMap), "additionalTexts");
229
var property = GetJsonProperty(compilation.
GetDeterministicKey
(analyzers: analyzers.ToImmutableArray()), "analyzers");
235
var property = GetJsonProperty(compilation.
GetDeterministicKey
(generators: generators.ToImmutableArray()), "generators");
245
var key = compilation.
GetDeterministicKey
(
285
var key = compilation.
GetDeterministicKey
();
352
var key = compilation.
GetDeterministicKey
();
354
Assert.Equal(key, compilation.
GetDeterministicKey
());
358
key = compilation.
GetDeterministicKey
();
359
Assert.NotEqual(key, compilation.
GetDeterministicKey
());