15 references to TypesEquivalent
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1562if (!TypesEquivalent(oldMethod.ReturnType, newMethod.ReturnType, exact: false))
Microsoft.CodeAnalysis.Features (14)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (14)
2151if (!TypesEquivalent(oldType, newType, exact: false)) 2555TypesEquivalent(oldModifier.Modifier, newModifier.Modifier, exact); 2565TypesEquivalent(oldMethod.ReturnType, newMethod.ReturnType, exact); 2572TypesEquivalent(oldProperty.Type, newProperty.Type, exact); 2575=> TypesEquivalent(oldEvent.Type, newEvent.Type, exact); 2579TypesEquivalent(oldField.Type, newField.Type, exact); 2586=> oldTypes.SequenceEqual(newTypes, exact, (x, y, exact) => TypesEquivalent(x, y, exact)); 2619=> TypesEquivalent(oldType.BaseType, newType.BaseType, exact) && 2762if (TypesEquivalent(oldSymbol.ContainingType, newSymbol.ContainingType, exact: false) && 4390TypesEquivalent(oldField.ContainingType.EnumUnderlyingType, newField.ContainingType.EnumUnderlyingType, exact: false)) 4608if (!TypesEquivalent(oldType.EnumUnderlyingType, newType.EnumUnderlyingType, exact: true)) 4610if (TypesEquivalent(oldType.EnumUnderlyingType, newType.EnumUnderlyingType, exact: false)) 6595if (!TypesEquivalent(oldType, newType, exact: false)) 6925TypedConstantKind.Type => TypesEquivalent((ITypeSymbol?)x.Value, (ITypeSymbol?)y.Value, exact: false),