2 instantiations of UsingsFromOptionsAndDiagnostics
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 };
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)
54
private
UsingsFromOptionsAndDiagnostics
? _lazyUsingsFromOptions;
1572
var
usingsFromoptions = UsingsFromOptions;
1607
private
UsingsFromOptionsAndDiagnostics
UsingsFromOptions
1610
private
UsingsFromOptionsAndDiagnostics
BindUsingsFromOptions() =>
UsingsFromOptionsAndDiagnostics
.FromOptions(this);
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (2)
19
public static readonly
UsingsFromOptionsAndDiagnostics
Empty = new UsingsFromOptionsAndDiagnostics() { UsingNamespacesOrTypes = ImmutableArray<NamespaceOrTypeAndUsingDirective>.Empty, Diagnostics = null };
27
public static
UsingsFromOptionsAndDiagnostics
FromOptions(CSharpCompilation compilation)