33 references to Errors
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCommandLineParser.cs (1)
1568
diagnostics.AddRange(parseOptions.
Errors
);
Compilation\CSharpCompilation.cs (2)
3031
if (!syntaxTree.Options.
Errors
.IsDefaultOrEmpty && parseOptionsReported.Add(syntaxTree.Options))
3034
foreach (var error in syntaxTree.Options.
Errors
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (17)
Parsing\CSharpParseOptionsTests.cs (17)
95
options.
Errors
.Verify();
101
options.
Errors
.Verify();
107
options.
Errors
.Verify();
115
options.
Errors
.Verify(
123
options.
Errors
.Verify(
169
options.
Errors
.Verify(
179
options.
Errors
.Verify(
189
options.
Errors
.Verify(
199
options.
Errors
.Verify(
211
options.
Errors
.Verify(
221
options.
Errors
.Verify(
231
options.
Errors
.Verify(
241
options.
Errors
.Verify(
251
options.
Errors
.Verify(
261
options.
Errors
.Verify(
271
options.
Errors
.Verify(
281
options.
Errors
.Verify(
Microsoft.CodeAnalysis.VisualBasic (3)
Compilation\VisualBasicCompilation.vb (2)
2179
If Not tree.Options.
Errors
.IsDefaultOrEmpty AndAlso parseOptionsReported.Add(tree.Options) Then
2181
For Each err In tree.Options.
Errors
VisualBasicCompilationOptions.vb (1)
1027
builder.AddRange(ParseOptions.
Errors
)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (10)
VisualStudioMSBuildWorkspaceTests.cs (10)
1461
await AssertCSParseOptionsAsync(0, options => options.
Errors
.Length);
1468
await AssertCSParseOptionsAsync(0, options => options.
Errors
.Length);
1475
await AssertCSParseOptionsAsync(0, options => options.
Errors
.Length);
1482
await AssertCSParseOptionsAsync(0, options => options.
Errors
.Length);
1489
await AssertCSParseOptionsAsync(0, options => options.
Errors
.Length);
1651
await AssertVBParseOptionsAsync(0, options => options.
Errors
.Length);
1658
await AssertVBParseOptionsAsync(0, options => options.
Errors
.Length);
1665
await AssertVBParseOptionsAsync(0, options => options.
Errors
.Length);
1672
await AssertVBParseOptionsAsync(0, options => options.
Errors
.Length);
1679
await AssertVBParseOptionsAsync(0, options => options.
Errors
.Length);