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