J2N
J2N copied to clipboard
Java-like Components for .NET
Because newer .net core version has the extension AsReadOnly(), there is a conflict between this extension. my suggestion is to add #IF_FLAG for the compiler to avoid this conflict. (this...
Our current test logging is done to a local file on the build server via TRX format, then the TRX file is uploaded to Azure Pipelines using the [`PublishTestResults@2` task](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-test-results-v2?view=azure-pipelines&tabs=trx%2Ctrxattachments%2Cyaml)....
These classes were not intended to be inherited, however they were not marked sealed. This will need to be done on the next major version bump.
This is a breaking API change that will require a major version bump. Current API: ```c# namespace J2N { public static class Character { public static int CodePointAt(this char[] seq,...
We need our own implementations of `IndexOf()` and `LastIndexOf()` on `StringBuilder` because they are not provided in .NET. The J2N implementations we have account for `Ordinal` and `OrdinalIgnoreCase` of `StringComparison`,...
ThreadJob class uses System.Threading.Thread.Sleep, which has issues sleeping the right number of milliseconds provided in certain scenarios. For more information please see: https://stackoverflow.com/questions/19066900/thread-sleep1-takes-longer-than-1ms We discovered this issue in Lucene.NET repo...
Since [`ImmutableArray`](https://learn.microsoft.com/en-us/dotnet/api/system.collections.immutable.immutablearray-1) is yet another array implementation of `IStructuralEquatable` that could be compared against `Array`, it must be treated like an `Array`, not compared using `IStructuralEquatable`. There are several places...
Currently, we only support `IList`, `ISet` and `IDictionary` to identify collections from the BCL when comparing for structural equality. There are other types that should be included for completion, and...
Java has the ability to get a view of sorted collections without allocating additional memory. Unlike LINQ, these are not cut down interfaces that are read-only, but can be edited...
`LurchTable` was not made serializable, however all of the other J2N collections are. Given the fact that we already have examples of dictionaries being serialized, this should be fairly straightforward...