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)
1576
if (usingsFromoptions.
UsingNamespacesOrTypes
.IsEmpty)
1582
return usingsFromoptions.
UsingNamespacesOrTypes
;
1588
boundUsings.AddRange(usingsFromoptions.
UsingNamespacesOrTypes
);
1589
uniqueUsings.AddAll(usingsFromoptions.
UsingNamespacesOrTypes
.Select(static unt => unt.NamespaceOrType));
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
138
foreach (var @using in
UsingNamespacesOrTypes
)