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)) 2549TypesEquivalent(oldModifier.Modifier, newModifier.Modifier, exact); 2559TypesEquivalent(oldMethod.ReturnType, newMethod.ReturnType, exact); 2566TypesEquivalent(oldProperty.Type, newProperty.Type, exact); 2569=> TypesEquivalent(oldEvent.Type, newEvent.Type, exact); 2573TypesEquivalent(oldField.Type, newField.Type, exact); 2580=> oldTypes.SequenceEqual(newTypes, exact, (x, y, exact) => TypesEquivalent(x, y, exact)); 2599=> TypesEquivalent(oldType.BaseType, newType.BaseType, exact) && 2742if (TypesEquivalent(oldSymbol.ContainingType, newSymbol.ContainingType, exact: false) && 4339TypesEquivalent(oldField.ContainingType.EnumUnderlyingType, newField.ContainingType.EnumUnderlyingType, exact: false)) 4541if (!TypesEquivalent(oldType.EnumUnderlyingType, newType.EnumUnderlyingType, exact: true)) 4543if (TypesEquivalent(oldType.EnumUnderlyingType, newType.EnumUnderlyingType, exact: false)) 6528if (!TypesEquivalent(oldType, newType, exact: false)) 6854TypedConstantKind.Type => TypesEquivalent((ITypeSymbol?)x.Value, (ITypeSymbol?)y.Value, exact: false),