3 instantiations of ResolvedReference
Microsoft.CodeAnalysis (3)
ReferenceManager\CommonReferenceManager.Resolution.cs (3)
465
return new
ResolvedReference
(index, kind, aliasesOpt, recursiveAliasesOpt, mergedReferences);
639
referenceMap[referenceIndex] = new
ResolvedReference
(assemblies.Count, MetadataImageKind.Assembly);
653
referenceMap[referenceIndex] = new
ResolvedReference
(modules.Count, MetadataImageKind.Module);
21 references to ResolvedReference
Microsoft.CodeAnalysis (21)
ReferenceManager\CommonReferenceManager.Binding.cs (12)
97
ImmutableArray<
ResolvedReference
> explicitReferenceMap,
104
out ImmutableArray<
ResolvedReference
> implicitlyResolvedReferenceMap,
155
implicitlyResolvedReferenceMap = ImmutableArray<
ResolvedReference
>.Empty;
213
ImmutableArray<
ResolvedReference
> explicitReferenceMap,
221
out ImmutableArray<
ResolvedReference
> resolvedReferences,
322
resolvedReferences = ImmutableArray<
ResolvedReference
>.Empty;
392
ImmutableArray<
ResolvedReference
> explicitReferenceMap,
422
var
explicitReferenceMapping = explicitReferenceMap[referenceIndex];
438
private static ImmutableArray<int> CalculateModuleToReferenceMap(ImmutableArray<PEModule> modules, ImmutableArray<
ResolvedReference
> resolvedReferences)
450
var
resolvedReference = resolvedReferences[i];
460
private static ImmutableArray<
ResolvedReference
> ToResolvedAssemblyReferences(
465
var result = ArrayBuilder<
ResolvedReference
>.GetInstance(references.Length);
ReferenceManager\CommonReferenceManager.Resolution.cs (6)
129
/// default(<see cref="
ResolvedReference
"/>) is considered skipped.
210
protected ImmutableArray<
ResolvedReference
> ResolveMetadataReferences(
228
var referenceMap = new
ResolvedReference
[referenceCount];
439
private static
ResolvedReference
GetResolvedReferenceAndFreePropertyMapEntry(MetadataReference reference, int index, MetadataImageKind kind, Dictionary<MetadataReference, MergedAliases>? propertyMapOpt)
636
private static void AddAssembly(AssemblyData data, int referenceIndex,
ResolvedReference
[] referenceMap, ArrayBuilder<AssemblyData> assemblies)
646
private static void AddModule(PEModule module, int referenceIndex,
ResolvedReference
[] referenceMap, [NotNull] ref ArrayBuilder<PEModule>? modules)
ReferenceManager\CommonReferenceManager.State.cs (3)
462
ImmutableArray<
ResolvedReference
> referenceMap,
615
ImmutableArray<
ResolvedReference
> referenceMap,
624
foreach (
ResolvedReference
reference in referenceMap)