1 instantiation of SymbolEquivalentEqualityComparer
Microsoft.CodeAnalysis (1)
PEWriter\SymbolEquivalentEqualityComparer.cs (1)
16public static readonly SymbolEquivalentEqualityComparer Instance = new SymbolEquivalentEqualityComparer();
17 references to SymbolEquivalentEqualityComparer
Microsoft.CodeAnalysis (17)
CodeGen\LocalSlotManager.cs (2)
54(Cci.SymbolEquivalentEqualityComparer.Instance.Equals(_type, other._type)); 58=> Hash.Combine(Cci.SymbolEquivalentEqualityComparer.Instance.GetHashCode(_type), (int)_constraints);
Emit\EditAndContinue\DefinitionMap.cs (1)
500var awaiters = new Dictionary<Cci.ITypeReference, int>(Cci.SymbolEquivalentEqualityComparer.Instance);
Emit\EditAndContinue\DeltaMetadataWriter.cs (8)
111_parameterDefList = new Dictionary<IParameterDefinition, IMethodDefinition>(Cci.SymbolEquivalentEqualityComparer.Instance); 131_addedOrChangedMethods = new Dictionary<IMethodDefinition, AddedOrChangedMethodInfo>(Cci.SymbolEquivalentEqualityComparer.Instance); 197var generationOrdinals = CreateDictionary(_previousGeneration.GenerationOrdinals, SymbolEquivalentEqualityComparer.Instance); 212typesAdded: AddRange(_previousGeneration.TypesAdded, addedTypes, comparer: SymbolEquivalentEqualityComparer.Instance), 213eventsAdded: AddRange(_previousGeneration.EventsAdded, _eventDefs.GetAdded(), comparer: SymbolEquivalentEqualityComparer.Instance), 214fieldsAdded: AddRange(_previousGeneration.FieldsAdded, _fieldDefs.GetAdded(), comparer: SymbolEquivalentEqualityComparer.Instance), 215methodsAdded: AddRange(_previousGeneration.MethodsAdded, _methodDefs.GetAdded(), comparer: SymbolEquivalentEqualityComparer.Instance), 217propertiesAdded: AddRange(_previousGeneration.PropertiesAdded, _propertyDefs.GetAdded(), comparer: SymbolEquivalentEqualityComparer.Instance),
Emit\EditAndContinue\EncHoistedLocalInfo.cs (2)
35Cci.SymbolEquivalentEqualityComparer.Instance.Equals(Type, other.Type); 41=> Hash.Combine(Cci.SymbolEquivalentEqualityComparer.Instance.GetHashCode(Type), SlotInfo.GetHashCode());
Emit\EditAndContinue\EncLocalInfo.cs (2)
47Cci.SymbolEquivalentEqualityComparer.Instance.Equals(Type, other.Type) && 60Hash.Combine(Cci.SymbolEquivalentEqualityComparer.Instance.GetHashCode(Type),
Emit\EditAndContinue\SymbolMatcher.cs (1)
79var result = new Dictionary<K, V>(Cci.SymbolEquivalentEqualityComparer.Instance);
PEWriter\SymbolEquivalentEqualityComparer.cs (1)
16public static readonly SymbolEquivalentEqualityComparer Instance = new SymbolEquivalentEqualityComparer();