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