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)
624Assert.Throws<CompilationErrorException>(() => s0.ContinueWithAsync("invalid$syntax").Result); 628Assert.Throws<CompilationErrorException>(() => s1.ContinueWithAsync("invalid$syntax").Result); 629Assert.Throws<CompilationErrorException>(() => s1.ContinueWithAsync("x = undefined_symbol").Result); 1439catch (CompilationErrorException e) 1458catch (CompilationErrorException e) 1471catch (CompilationErrorException e)
ScriptTests.cs (6)
226catch (CompilationErrorException ex) 273catch (CompilationErrorException ex) 854catch (CompilationErrorException ex) 1009catch (CompilationErrorException ex) 1031catch (CompilationErrorException ex) 1056catch (CompilationErrorException ex)
Microsoft.CodeAnalysis.Scripting (9)
Hosting\CommandLine\CommandLineRunner.cs (1)
212catch (CompilationErrorException e)
Script.cs (6)
369catch (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)
88catch (CompilationErrorException e)