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)
2156if (!TypesEquivalent(oldType, newType, exact: false)) 2560TypesEquivalent(oldModifier.Modifier, newModifier.Modifier, exact); 2570TypesEquivalent(oldMethod.ReturnType, newMethod.ReturnType, exact); 2577TypesEquivalent(oldProperty.Type, newProperty.Type, exact); 2580=> TypesEquivalent(oldEvent.Type, newEvent.Type, exact); 2584TypesEquivalent(oldField.Type, newField.Type, exact); 2591=> oldTypes.SequenceEqual(newTypes, exact, (x, y, exact) => TypesEquivalent(x, y, exact)); 2624=> TypesEquivalent(oldType.BaseType, newType.BaseType, exact) && 2767if (TypesEquivalent(oldSymbol.ContainingType, newSymbol.ContainingType, exact: false) && 4446TypesEquivalent(oldField.ContainingType.EnumUnderlyingType, newField.ContainingType.EnumUnderlyingType, exact: false)) 4664if (!TypesEquivalent(oldType.EnumUnderlyingType, newType.EnumUnderlyingType, exact: true)) 4666if (TypesEquivalent(oldType.EnumUnderlyingType, newType.EnumUnderlyingType, exact: false)) 6651if (!TypesEquivalent(oldType, newType, exact: false)) 6981TypedConstantKind.Type => TypesEquivalent((ITypeSymbol?)x.Value, (ITypeSymbol?)y.Value, exact: false),