Implemented interface member:
method
Equals
System.IEquatable<T>.Equals(T)
35 references to Equals
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\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
373
public bool Equals(BFloat16 other) => ((float)this).
Equals
((float)other);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
1445
return ((float)(object)left).
Equals
((float)(object)right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
326
return (obj is float other) &&
Equals
(other);
System.Speech (13)
Internal\SrgsCompiler\Arc.cs (1)
89
if (!flWeight.
Equals
(CfgGrammar.DEFAULT_WEIGHT))
Internal\SrgsCompiler\Graph.cs (2)
933
if (!flSumWeights.
Equals
(0.0f) && !flSumWeights.
Equals
(1.0f))
Internal\SrgsCompiler\SrgsElementCompilerFactory.cs (1)
228
if (reqConfidence < 0 || reqConfidence.
Equals
(0.5f))
Internal\Synthesis\SSmlParser.cs (1)
1591
if (!points[points.Count - 1].Start.
Equals
(1.0f))
Recognition\Grammar.cs (1)
225
if (_grammarState != GrammarState.Unloaded && !_weight.
Equals
(value))
Recognition\RecognizerBase.cs (2)
1674
if (!weight.
Equals
(1.0f))
1686
else if (priority != 0 || !weight.
Equals
(1.0f))
Recognition\SrgsGrammar\SrgsItem.cs (2)
178
if (!_weight.
Equals
(1.0f))
183
if (!_repeatProbability.
Equals
(0.5f))
Synthesis\TTSEngine\TTSEngineTypes.cs (3)
329
return point1.Start.
Equals
(point2.Start) && point1.Change.
Equals
(point2.Change) && point1.ChangeType.Equals(point2.ChangeType);
381
return prosodyNumber1._ssmlAttributeId == prosodyNumber2._ssmlAttributeId && prosodyNumber1.Number.
Equals
(prosodyNumber2.Number) && prosodyNumber1.IsNumberPercent == prosodyNumber2.IsNumberPercent && prosodyNumber1.Unit == prosodyNumber2.Unit;