6 instantiations of AssemblyNameExtension
MSBuild (6)
AssemblyNameExtension.cs (4)
69
private static readonly AssemblyNameExtension s_unnamedAssembly = new
AssemblyNameExtension
();
190
return new
AssemblyNameExtension
(AssemblyName.GetAssemblyName(path));
597
AssemblyNameExtension newExtension =
new
();
990
(ITranslator t) => new
AssemblyNameExtension
(t),
TaskEngineAssemblyResolver.cs (2)
124
AssemblyNameExtension taskAssemblyName = new
AssemblyNameExtension
(AssemblyLoadContext.GetAssemblyName(_taskAssemblyFile));
125
AssemblyNameExtension argAssemblyName = new
AssemblyNameExtension
(assemblyName);
50 references to AssemblyNameExtension
MSBuild (50)
AssemblyNameComparer.cs (18)
16
internal sealed class AssemblyNameComparer : IComparer, IEqualityComparer, IEqualityComparer<
AssemblyNameExtension
>
31
internal static readonly IEqualityComparer<
AssemblyNameExtension
> GenericComparer = Comparer as IEqualityComparer<
AssemblyNameExtension
>;
36
internal static readonly IEqualityComparer<
AssemblyNameExtension
> GenericComparerConsiderRetargetable = ComparerConsiderRetargetable as IEqualityComparer<
AssemblyNameExtension
>;
56
AssemblyNameExtension
a1 = (
AssemblyNameExtension
)o1;
57
AssemblyNameExtension
a2 = (
AssemblyNameExtension
)o2;
68
AssemblyNameExtension
a1 = (
AssemblyNameExtension
)o1;
69
AssemblyNameExtension
a2 = (
AssemblyNameExtension
)o2;
78
AssemblyNameExtension
a = (
AssemblyNameExtension
)o;
87
public bool Equals(
AssemblyNameExtension
x,
AssemblyNameExtension
y)
96
public int GetHashCode(
AssemblyNameExtension
obj)
AssemblyNameExtension.cs (30)
56
internal sealed class AssemblyNameExtension : ISerializable, IEquatable<
AssemblyNameExtension
>, ITranslatable
67
private HashSet<
AssemblyNameExtension
> remappedFrom;
69
private static readonly
AssemblyNameExtension
s_unnamedAssembly = new AssemblyNameExtension();
170
remappedFrom = (HashSet<
AssemblyNameExtension
>)info.GetValue("remapped", typeof(HashSet<
AssemblyNameExtension
>));
186
internal static
AssemblyNameExtension
GetAssemblyNameEx(string path)
229
private static HashSet<
AssemblyNameExtension
> CreateRemappedFrom()
231
return new HashSet<
AssemblyNameExtension
>(AssemblyNameComparer.GenericComparerConsiderRetargetable);
370
internal IEnumerable<
AssemblyNameExtension
> RemappedFromEnumerator
382
internal void AddRemappedAssemblyName(
AssemblyNameExtension
extensionToAdd)
433
internal static
AssemblyNameExtension
UnnamedAssembly => s_unnamedAssembly;
440
internal int CompareTo(
AssemblyNameExtension
that)
448
internal int CompareTo(
AssemblyNameExtension
that, bool considerRetargetableFlag)
498
internal int CompareBaseNameTo(
AssemblyNameExtension
that)
526
private int CompareBaseNameToImpl(
AssemblyNameExtension
that)
595
internal
AssemblyNameExtension
Clone()
597
AssemblyNameExtension
newExtension = new();
619
internal
AssemblyNameExtension
CloneImmutable()
621
AssemblyNameExtension
clonedExtension = Clone();
644
internal bool Equals(
AssemblyNameExtension
that)
654
bool IEquatable<
AssemblyNameExtension
>.Equals(
AssemblyNameExtension
other)
664
internal bool EqualsIgnoreVersion(
AssemblyNameExtension
that)
672
internal bool Equals(
AssemblyNameExtension
that, bool considerRetargetableFlag)
680
private bool EqualsImpl(
AssemblyNameExtension
that, bool ignoreVersion, bool considerRetargetableFlag)
768
internal bool ComparePublicKeyToken(
AssemblyNameExtension
that)
860
internal bool PartialNameCompare(
AssemblyNameExtension
that)
868
internal bool PartialNameCompare(
AssemblyNameExtension
that, bool considerRetargetableFlag)
881
internal bool PartialNameCompare(
AssemblyNameExtension
that, PartialComparisonFlags comparisonFlags)
894
internal bool PartialNameCompare(
AssemblyNameExtension
that, PartialComparisonFlags comparisonFlags, bool considerRetargetableFlag)
TaskEngineAssemblyResolver.cs (2)
124
AssemblyNameExtension
taskAssemblyName = new AssemblyNameExtension(AssemblyLoadContext.GetAssemblyName(_taskAssemblyFile));
125
AssemblyNameExtension
argAssemblyName = new AssemblyNameExtension(assemblyName);