Implemented interface member:
method
Equals
System.IEquatable<T>.Equals(T)
5 references to Equals
Microsoft.AspNetCore.Http.Tests (1)
Internal\DefaultHttpResponseTests.cs (1)
130
mock.Setup(o => o.StartAsync(It.Is<CancellationToken>((localCt) => localCt.
Equals
(ct)))).Returns(Task.CompletedTask);
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationToken.cs (3)
319
public override bool Equals([NotNullWhen(true)] object? other) => other is CancellationToken &&
Equals
((CancellationToken)other);
335
public static bool operator ==(CancellationToken left, CancellationToken right) => left.
Equals
(right);
345
public static bool operator !=(CancellationToken left, CancellationToken right) => !left.
Equals
(right);
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
2828
if (ocEx == null || !cancelToken.
Equals
(ocEx.CancellationToken))