2 writes to UseLegacyHashFunction
NuGet.ProjectModel (2)
DependencyGraphSpec.cs (2)
33internal static void ResetCache() => UseLegacyHashFunction = null; 65UseLegacyHashFunction ??= string.Equals(environmentVariableReader.GetEnvironmentVariable("NUGET_ENABLE_LEGACY_DGSPEC_HASH_FUNCTION"), bool.TrueString, StringComparison.OrdinalIgnoreCase);
1 reference to UseLegacyHashFunction
NuGet.ProjectModel (1)
DependencyGraphSpec.cs (1)
361return GetHash(() => UseLegacyHashFunction == true ? new Sha512HashFunction() : new FnvHash64Function());