Implemented interface member:
method
Equals
System.IEquatable<T>.Equals(T)
5 references to Equals
Microsoft.AspNetCore.Http.Tests (1)
Internal\DefaultHttpResponseTests.cs (1)
130mock.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)
319public override bool Equals([NotNullWhen(true)] object? other) => other is CancellationToken && Equals((CancellationToken)other); 335public static bool operator ==(CancellationToken left, CancellationToken right) => left.Equals(right); 345public static bool operator !=(CancellationToken left, CancellationToken right) => !left.Equals(right);
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
2828if (ocEx == null || !cancelToken.Equals(ocEx.CancellationToken))