1 instantiation of GacFileResolver
Microsoft.CodeAnalysis.Scripting (1)
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (1)
61
gacFileResolver: GacFileResolver.IsAvailable ? new
GacFileResolver
(preferredCulture: CultureInfo.CurrentCulture) : null,
10 references to GacFileResolver
Microsoft.CodeAnalysis.Scripting (10)
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (5)
32
internal static string? GetDesktopFrameworkDirectory() =>
GacFileResolver
.IsAvailable ?
40
internal readonly
GacFileResolver
? GacFileResolver;
61
gacFileResolver:
GacFileResolver
.IsAvailable ? new GacFileResolver(preferredCulture: CultureInfo.CurrentCulture) : null,
70
GacFileResolver
? gacFileResolver = null,
84
GacFileResolver
? gacFileResolver,
ScriptOptions.cs (1)
41
if (
GacFileResolver
.IsAvailable)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs (4)
20
internal sealed class GacFileResolver : IEquatable<
GacFileResolver
>
49
/// Creates an instance of a <see cref="
GacFileResolver
"/>, if available on the platform (check <see cref="IsAvailable"/>).
85
public bool Equals(
GacFileResolver
other)
93
public override bool Equals(object obj) => Equals(obj as
GacFileResolver
);