6 instantiations of GracefulException
Microsoft.CodeAnalysis.CSharp.Features (6)
FileLevelDirectiveHelpers.cs (6)
489
throw new
GracefulException
(FileBasedProgramsResources.CouldNotFindProjectOrDirectory, resolvedProjectPath);
518
throw new
GracefulException
(FileBasedProgramsResources.CouldNotFindProjectOrDirectory, projectDirectory);
523
throw new
GracefulException
(FileBasedProgramsResources.CouldNotFindProjectOrDirectory, projectDirectory);
529
throw new
GracefulException
(
536
throw new
GracefulException
(FileBasedProgramsResources.MoreThanOneProjectInDirectory, projectDirectory);
616
throw new
GracefulException
($"{sourceFile.GetLocationString(textSpan)}: {FileBasedProgramsResources.DirectiveError}: {message}", inner);
2 references to GracefulException
Microsoft.CodeAnalysis.CSharp.Features (2)
FileLevelDirectiveHelpers.cs (2)
492
catch (
GracefulException
e)
599
/// If <see langword="null"/> and <see cref="IgnoreDiagnostics"/> is <see langword="false"/>, the first diagnostic is thrown as <see cref="
GracefulException
"/>.