2 instantiations of UsingsFromOptionsAndDiagnostics
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 };
8 references to UsingsFromOptionsAndDiagnostics
Microsoft.CodeAnalysis.CSharp (8)
Binder\BuckStopsHereBinder.cs (1)
29/// or the binder used to bind usings in <see cref="CSharpCompilation.UsingsFromOptionsAndDiagnostics"/>.
Compilation\CSharpCompilation.cs (5)
54private UsingsFromOptionsAndDiagnostics? _lazyUsingsFromOptions; 1572var usingsFromoptions = UsingsFromOptions; 1607private UsingsFromOptionsAndDiagnostics UsingsFromOptions 1610private UsingsFromOptionsAndDiagnostics BindUsingsFromOptions() => UsingsFromOptionsAndDiagnostics.FromOptions(this);
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (2)
19public static readonly UsingsFromOptionsAndDiagnostics Empty = new UsingsFromOptionsAndDiagnostics() { UsingNamespacesOrTypes = ImmutableArray<NamespaceOrTypeAndUsingDirective>.Empty, Diagnostics = null }; 27public static UsingsFromOptionsAndDiagnostics FromOptions(CSharpCompilation compilation)