Implemented interface member:
method
Equals
System.IEquatable<T>.Equals(T)
23 references to Equals
Microsoft.CodeAnalysis.UnitTests (1)
RealParserTests.cs (1)
581
if (!actual.
Equals
(expected))
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIEmbeddingGeneratorTests.cs (2)
146
Assert.Contains(e.Vector.ToArray(), f => !f.
Equals
(0));
215
Assert.Contains(e.Vector.ToArray(), f => !f.
Equals
(0));
Microsoft.Maui.Graphics (6)
RectF.cs (4)
48
return X.
Equals
(other.X) && Y.
Equals
(other.Y) && Width.
Equals
(other.Width) && Height.
Equals
(other.Height);
SizeF.cs (2)
93
return Width.
Equals
(other.Width) && Height.
Equals
(other.Height);
Microsoft.ML.AutoML (2)
Utils\SweepableParamAttributes.cs (2)
139
if (!stepSize.
Equals
(-1))
186
if (!stepSize.
Equals
(-1))
Microsoft.ML.Core (2)
EntryPoints\ModuleArgs.cs (2)
423
if (!stepSize.
Equals
(-1))
474
if (!stepSize.
Equals
(-1))
Microsoft.ML.Fairlearn (6)
Reductions\UtilityParity.cs (6)
35
if (Single.NaN.
Equals
(differenceBound) && Single.NaN.
Equals
(ratioBond))
40
else if (!Single.NaN.
Equals
(differenceBound) && Single.NaN.
Equals
(ratioBond))
45
else if (Single.NaN.
Equals
(differenceBound) && !Single.NaN.
Equals
(ratioBond))
Microsoft.ML.Tests (1)
TrainerEstimators\TreeEstimators.cs (1)
644
areEqual &= firstMlnetPredictions[i].Score[j].
Equals
(secondMlnetPredictions[i].Score[j]);
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
379
public bool Equals(BFloat16 other) => ((float)this).
Equals
((float)other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
1432
return ((float)(object)left).
Equals
((float)(object)right);
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
326
return (obj is float other) &&
Equals
(other);