9 instantiations of AssemblyReferenceBinding
Microsoft.CodeAnalysis (9)
ReferenceManager\AssemblyDataForAssemblyBeingBuilt.cs (1)
89
boundReferences[i] = new
AssemblyReferenceBinding
(_referencedAssemblyData[i].Identity, i + 1);
ReferenceManager\CommonReferenceManager.Binding.cs (1)
488
bindingsOfAssemblyBeingBuilt.Add(new
AssemblyReferenceBinding
(implicitAssemblies[i].Identity, explicitAssemblyCount + i));
ReferenceManager\CommonReferenceManager.Resolution.cs (7)
948
return new
AssemblyReferenceBinding
(reference, definitionIndex);
983
return new
AssemblyReferenceBinding
(reference, minHigherVersionDefinition, versionDifference: +1);
988
return new
AssemblyReferenceBinding
(reference, maxLowerVersionDefinition, versionDifference: -1);
1008
return new
AssemblyReferenceBinding
(reference, definitionIndex);
1039
return new
AssemblyReferenceBinding
(reference, definitionIndex);
1054
return new
AssemblyReferenceBinding
(reference, 0);
1059
return new
AssemblyReferenceBinding
(reference);
22 references to AssemblyReferenceBinding
Microsoft.CodeAnalysis (22)
ReferenceManager\AssemblyData.cs (1)
58
public abstract
AssemblyReferenceBinding
[] BindAssemblyReferences(MultiDictionary<string, (AssemblyData DefinitionData, int DefinitionIndex)> assemblies, AssemblyIdentityComparer assemblyIdentityComparer);
ReferenceManager\AssemblyDataForAssemblyBeingBuilt.cs (2)
80
public override
AssemblyReferenceBinding
[] BindAssemblyReferences(
84
var boundReferences = new
AssemblyReferenceBinding
[_referencedAssemblies.Length];
ReferenceManager\BoundInputAssembly.cs (1)
34
internal
AssemblyReferenceBinding
[]? ReferenceBinding;
ReferenceManager\CommonReferenceManager.Binding.cs (14)
113
var referenceBindings = ArrayBuilder<
AssemblyReferenceBinding
[]>.GetInstance();
217
[In, Out] ArrayBuilder<
AssemblyReferenceBinding
[]> referenceBindings,
242
var referenceBindingsToProcess = ArrayBuilder<(MetadataReference, ArraySegment<
AssemblyReferenceBinding
>)>.GetInstance();
257
foreach (
var
binding in bindings)
308
referenceBindingsToProcess.Push((resolvedReference, new ArraySegment<
AssemblyReferenceBinding
>(referenceBinding)));
349
var
binding = referenceBinding[i];
393
ArrayBuilder<
AssemblyReferenceBinding
[]> referenceBindings,
395
[Out] ArrayBuilder<(MetadataReference, ArraySegment<
AssemblyReferenceBinding
>)> result)
412
new ArraySegment<
AssemblyReferenceBinding
>(bindingsOfAssemblyBeingBuilt, bindingIndex, moduleBindingsCount)));
431
new ArraySegment<
AssemblyReferenceBinding
>(referenceBindings[explicitReferenceMapping.Index + 1])));
475
private static void UpdateBindingsOfAssemblyBeingBuilt(ArrayBuilder<
AssemblyReferenceBinding
[]> referenceBindings, int explicitAssemblyCount, ArrayBuilder<AssemblyData> implicitAssemblies)
480
var bindingsOfAssemblyBeingBuilt = ArrayBuilder<
AssemblyReferenceBinding
>.GetInstance(referenceBindingsOfAssemblyBeingBuilt.Length + implicitAssemblies.Count);
969
private static bool CheckCircularReference(IReadOnlyList<
AssemblyReferenceBinding
[]> referenceBindings)
973
foreach (
AssemblyReferenceBinding
index in referenceBindings[i])
ReferenceManager\CommonReferenceManager.Resolution.cs (3)
891
internal static
AssemblyReferenceBinding
[] ResolveReferencedAssemblies(
897
var boundReferences = new
AssemblyReferenceBinding
[references.Length];
916
internal static
AssemblyReferenceBinding
ResolveReferencedAssembly(
ReferenceManager\CommonReferenceManager.State.cs (1)
648
foreach (
var
binding in referenceBinding)