1 instantiation of LoadDirective
Microsoft.CodeAnalysis.CSharp (1)
Compilation\SyntaxAndDeclarationManager.cs (1)
260loadDirectives.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)
2760ImmutableArray<LoadDirective> loadDirectives; 2764foreach (var directive in loadDirectives)
Compilation\SyntaxAndDeclarationManager.cs (20)
53var loadDirectiveMapBuilder = PooledDictionary<SyntaxTree, ImmutableArray<LoadDirective>>.GetInstance(); 150IDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMapBuilder, 176IDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMapBuilder, 181ArrayBuilder<LoadDirective> loadDirectives = null; 258loadDirectives = ArrayBuilder<LoadDirective>.GetInstance(); 297ImmutableArray<LoadDirective> unused2; 361ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMap, 365out ImmutableArray<LoadDirective> oldLoadDirectives) 374oldLoadDirectives = ImmutableArray<LoadDirective>.Empty; 389ImmutableArray<LoadDirective> loadDirectives; 393foreach (var directive in loadDirectives) 407ImmutableArray<LoadDirective> loadDirectives, 408ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMap, 412foreach (var directive in loadDirectives) 419ImmutableArray<LoadDirective> nestedLoadDirectives; 457ImmutableArray<LoadDirective> oldLoadDirectives; 585ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMap, 591ImmutableArray<LoadDirective> loadDirectives; 595foreach (var directive in loadDirectives) 635private static bool TryGetLoadedSyntaxTree(ImmutableDictionary<string, SyntaxTree> loadedSyntaxTreeMap, LoadDirective directive, out SyntaxTree loadedTree)
Compilation\SyntaxAndDeclarationManager.LazyState.cs (2)
22internal readonly ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> LoadDirectiveMap; 30ImmutableDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMap,