-
[Enter feedback here]
Documentation indicates that `IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer)` returns -1, 0, or 1. This is incorrect. It can return _any_…
-
When implementing the interface `IComparable` one is supposed to also implement `IEquatable`
-
The example code with the object expression for `IFormattable` doesn't work, for instance, in FSI, it prints the following:
> "{FSI_0002+Delimiter@1}"
The reason this happens is the wrong assumpt…
-
```
Not allowed to use: System.Console/System.Console.WriteLine( System.String, System.Object )
Not allowed to use: System.Private.CoreLib/System.Activator.CreateInstance( System.Type )
Not allowed…
-
Example test:
```cs
[Theory]
[InlineData(typeof(int), "1", "3")]
[InlineData(typeof(double), "1", "3")]
public static void Validate_CantConvertValueToTargetType_ThrowsException(Type type, string …
-
```cs
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
#nullable enable
public class C {
public int FooMethodIComparer(T value, TComparer comparer) …
-
I have noticed that usage sections don't seem to be rendering in API reference.
For example, the source for `CompareInfo.LastIndexOf(string, string)` contains [``](https://github.com/dotnet/docs/bl…
svick updated
3 years ago
-
We should be able to replace this with the "official" feature switches: #422
This item tracks:
* Creating an XML descriptor for the existing features (some are already covered by what's in dotnet/…
-
Opened on behalf of @jiangzeng
The test `System.Numerics.Tests.ComparisonTest/IComparable_Invalid` has failed.
Assert.Equal() Failure\r
Expected: obj\r
Actual: (null)
Stack Trace:…
ghost updated
3 years ago
-
Hi, I tried WebCrawlerMemoized, it seems not to work, this example runs WebCrawlerMemoized but it still runs WebCrawler if the cache has the key. I think the cause, maybe WebCrawler got data by yield …