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