2 writes to UsingNamespacesOrTypes
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 };
5 references to UsingNamespacesOrTypes
Microsoft.CodeAnalysis.CSharp (5)
Compilation\CSharpCompilation.cs (4)
1571
if (usingsFromoptions.
UsingNamespacesOrTypes
.IsEmpty)
1577
return usingsFromoptions.
UsingNamespacesOrTypes
;
1583
boundUsings.AddRange(usingsFromoptions.
UsingNamespacesOrTypes
);
1584
uniqueUsings.AddAll(usingsFromoptions.
UsingNamespacesOrTypes
.Select(static unt => unt.NamespaceOrType));
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
138
foreach (var @using in
UsingNamespacesOrTypes
)