5 references to IsAvailable
Microsoft.CodeAnalysis.Scripting (5)
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (2)
32internal static string? GetDesktopFrameworkDirectory() => GacFileResolver.IsAvailable ? 61gacFileResolver: GacFileResolver.IsAvailable ? new GacFileResolver(preferredCulture: CultureInfo.CurrentCulture) : null,
ScriptOptions.cs (1)
41if (GacFileResolver.IsAvailable)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs (2)
49/// Creates an instance of a <see cref="GacFileResolver"/>, if available on the platform (check <see cref="IsAvailable"/>). 59if (!IsAvailable)