15 references to TypesEquivalent
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1562
if (!
TypesEquivalent
(oldMethod.ReturnType, newMethod.ReturnType, exact: false))
Microsoft.CodeAnalysis.Features (14)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (14)
2151
if (!
TypesEquivalent
(oldType, newType, exact: false))
2549
TypesEquivalent
(oldModifier.Modifier, newModifier.Modifier, exact);
2559
TypesEquivalent
(oldMethod.ReturnType, newMethod.ReturnType, exact);
2566
TypesEquivalent
(oldProperty.Type, newProperty.Type, exact);
2569
=>
TypesEquivalent
(oldEvent.Type, newEvent.Type, exact);
2573
TypesEquivalent
(oldField.Type, newField.Type, exact);
2580
=> oldTypes.SequenceEqual(newTypes, exact, (x, y, exact) =>
TypesEquivalent
(x, y, exact));
2599
=>
TypesEquivalent
(oldType.BaseType, newType.BaseType, exact) &&
2742
if (
TypesEquivalent
(oldSymbol.ContainingType, newSymbol.ContainingType, exact: false) &&
4339
TypesEquivalent
(oldField.ContainingType.EnumUnderlyingType, newField.ContainingType.EnumUnderlyingType, exact: false))
4541
if (!
TypesEquivalent
(oldType.EnumUnderlyingType, newType.EnumUnderlyingType, exact: true))
4543
if (
TypesEquivalent
(oldType.EnumUnderlyingType, newType.EnumUnderlyingType, exact: false))
6528
if (!
TypesEquivalent
(oldType, newType, exact: false))
6854
TypedConstantKind.Type =>
TypesEquivalent
((ITypeSymbol?)x.Value, (ITypeSymbol?)y.Value, exact: false),