2 writes to Diagnostics
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (2)
19
public static readonly UsingsFromOptionsAndDiagnostics Empty = new UsingsFromOptionsAndDiagnostics() { UsingNamespacesOrTypes = ImmutableArray<NamespaceOrTypeAndUsingDirective>.Empty,
Diagnostics
= null };
83
return new UsingsFromOptionsAndDiagnostics() { UsingNamespacesOrTypes = boundUsings.ToImmutableAndFree(),
Diagnostics
= diagnostics };
3 references to Diagnostics
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (3)
159
if (
Diagnostics
!= null && !
Diagnostics
.IsEmptyWithoutResolution)
161
semanticDiagnostics.AddRange(
Diagnostics
.AsEnumerable());