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