1 instantiation of LoadDirective
Microsoft.CodeAnalysis.CSharp (1)
Compilation\SyntaxAndDeclarationManager.cs (1)
282loadDirectives.Add(new LoadDirective(resolvedFilePath, diagnostics.ToReadOnlyAndFree()));
28 references to LoadDirective
Microsoft.CodeAnalysis (4)
Compilation\LoadDirective.cs (4)
13internal readonly struct LoadDirective : IEquatable<LoadDirective> 28public bool Equals(LoadDirective other) 36return obj is LoadDirective && Equals((LoadDirective)obj);
Microsoft.CodeAnalysis.CSharp (24)
Compilation\CSharpCompilation.cs (2)
3051ImmutableArray<LoadDirective> loadDirectives; 3055foreach (var directive in loadDirectives)
Compilation\SyntaxAndDeclarationManager.cs (20)
58var loadDirectiveMapBuilder = PooledDictionary<SyntaxTree, ImmutableArray<LoadDirective>>.GetInstance(); 161IDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMapBuilder, 196IDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMapBuilder, 202ArrayBuilder<LoadDirective> loadDirectives = null; 280loadDirectives = ArrayBuilder<LoadDirective>.GetInstance(); 320ImmutableArray<LoadDirective> unused2; 387ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMap, 391out ImmutableArray<LoadDirective> oldLoadDirectives) 400oldLoadDirectives = ImmutableArray<LoadDirective>.Empty; 415ImmutableArray<LoadDirective> loadDirectives; 419foreach (var directive in loadDirectives) 433ImmutableArray<LoadDirective> loadDirectives, 434ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMap, 438foreach (var directive in loadDirectives) 445ImmutableArray<LoadDirective> nestedLoadDirectives; 483ImmutableArray<LoadDirective> oldLoadDirectives; 678ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMap, 684ImmutableArray<LoadDirective> loadDirectives; 688foreach (var directive in loadDirectives) 728private static bool TryGetLoadedSyntaxTree(ImmutableDictionary<string, SyntaxTree> loadedSyntaxTreeMap, LoadDirective directive, out SyntaxTree loadedTree)
Compilation\SyntaxAndDeclarationManager.LazyState.cs (2)
22internal readonly ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> LoadDirectiveMap; 49ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMap,