Implemented interface member:
method
Equals
System.IEquatable<T>.Equals(T)
26 references to Equals
Microsoft.CodeAnalysis.UnitTests (1)
RealParserTests.cs (1)
581
if (!actual.
Equals
(expected))
Microsoft.Extensions.AI.AzureAIInference.Tests (4)
AzureAIInferenceEmbeddingGeneratorTests.cs (2)
122
Assert.Contains(e.Vector.ToArray(), f => !f.
Equals
(0));
185
Assert.Contains(e.Vector.ToArray(), f => !f.
Equals
(0));
AzureAIInferenceImageEmbeddingGeneratorTests.cs (2)
125
Assert.Contains(e.Vector.ToArray(), f => !f.
Equals
(0));
192
Assert.Contains(e.Vector.ToArray(), f => !f.
Equals
(0));
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIEmbeddingGeneratorTests.cs (2)
149
Assert.Contains(e.Vector.ToArray(), f => !f.
Equals
(0));
221
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 (2)
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)
324
return (obj is float other) &&
Equals
(other);