5 references to IsAvailable
Microsoft.CodeAnalysis.Scripting (5)
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (2)
32
internal static string? GetDesktopFrameworkDirectory() => GacFileResolver.
IsAvailable
?
61
gacFileResolver: GacFileResolver.
IsAvailable
? new GacFileResolver(preferredCulture: CultureInfo.CurrentCulture) : null,
ScriptOptions.cs (1)
41
if (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
"/>).
59
if (!
IsAvailable
)