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