We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07209a6 commit 7b1a240Copy full SHA for 7b1a240
src/Microsoft.OpenApi/Expressions/RuntimeExpression.cs
@@ -94,7 +94,7 @@ public override bool Equals(object? obj)
94
{
95
return true;
96
}
97
- return obj is RuntimeExpression runtimeExpression && Equals(runtimeExpression);
+ return obj.GetType() == GetType() && Equals((RuntimeExpression)obj);
98
99
100
/// <inheritdoc />
0 commit comments