26 references to CompilationErrorException
Microsoft.CodeAnalysis.CSharp.Scripting (4)
CSharpScript.cs (4)
97
/// <exception cref="
CompilationErrorException
">Specified code has errors.</exception>
111
/// <exception cref="
CompilationErrorException
">Specified code has errors.</exception>
127
/// <exception cref="
CompilationErrorException
">Specified code has errors.</exception>
142
/// <exception cref="
CompilationErrorException
">Specified code has errors.</exception>
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (12)
InteractiveSessionTests.cs (6)
624
Assert.Throws<
CompilationErrorException
>(() => s0.ContinueWithAsync("invalid$syntax").Result);
628
Assert.Throws<
CompilationErrorException
>(() => s1.ContinueWithAsync("invalid$syntax").Result);
629
Assert.Throws<
CompilationErrorException
>(() => s1.ContinueWithAsync("x = undefined_symbol").Result);
1439
catch (
CompilationErrorException
e)
1458
catch (
CompilationErrorException
e)
1471
catch (
CompilationErrorException
e)
ScriptTests.cs (6)
226
catch (
CompilationErrorException
ex)
273
catch (
CompilationErrorException
ex)
854
catch (
CompilationErrorException
ex)
1009
catch (
CompilationErrorException
ex)
1031
catch (
CompilationErrorException
ex)
1056
catch (
CompilationErrorException
ex)
Microsoft.CodeAnalysis.Scripting (9)
Hosting\CommandLine\CommandLineRunner.cs (1)
212
catch (
CompilationErrorException
e)
Script.cs (6)
369
catch (
CompilationErrorException
e)
387
/// <exception cref="
CompilationErrorException
">Compilation has errors.</exception>
398
/// <exception cref="
CompilationErrorException
">Compilation has errors.</exception>
411
/// <exception cref="
CompilationErrorException
">Compilation has errors.</exception>
467
/// <exception cref="
CompilationErrorException
">Compilation has errors.</exception>
485
/// <exception cref="
CompilationErrorException
">Compilation has errors.</exception>
ScriptBuilder.cs (1)
77
/// <exception cref="
CompilationErrorException
">Compilation has errors.</exception>
ScriptOptions.cs (1)
86
/// Any resolution errors are reported at that point through <see cref="
CompilationErrorException
"/>.
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ScriptingTestHelpers.cs (1)
88
catch (
CompilationErrorException
e)