public ParameterSymbolEqualityComparer( SymbolEquivalenceComparer symbolEqualityComparer, bool distinguishRefFromOut) { _symbolEqualityComparer = symbolEqualityComparer; _distinguishRefFromOut = distinguishRefFromOut; }
public EquivalenceVisitor( SymbolEquivalenceComparer symbolEquivalenceComparer, bool compareMethodTypeParametersByIndex, bool objectAndDynamicCompareEqually) { _symbolEquivalenceComparer = symbolEquivalenceComparer; _compareMethodTypeParametersByIndex = compareMethodTypeParametersByIndex; _objectAndDynamicCompareEqually = objectAndDynamicCompareEqually; }
public GetHashCodeVisitor( SymbolEquivalenceComparer symbolEquivalenceComparer, bool compareMethodTypeParametersByIndex, bool objectAndDynamicCompareEqually) { _symbolEquivalenceComparer = symbolEquivalenceComparer; _compareMethodTypeParametersByIndex = compareMethodTypeParametersByIndex; _objectAndDynamicCompareEqually = objectAndDynamicCompareEqually; _parameterAggregator = (acc, sym) => Hash.Combine(symbolEquivalenceComparer.ParameterEquivalenceComparer.GetHashCode(sym), acc); _symbolAggregator = (acc, sym) => GetHashCode(sym, acc); }
public SignatureTypeSymbolEquivalenceComparer(SymbolEquivalenceComparer symbolEquivalenceComparer) { _symbolEquivalenceComparer = symbolEquivalenceComparer; }