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