You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Both the .NET 4.5 mscorlib contract reference assembly and \bin\Devlab9ro.NETFramework\v4.5\mscorlib.Contracts.dll for int String.IndexOfAny(char[] anyOf, int startIndex, int count)
still contain: System.Diagnostics.Contracts.Contract.Requires(startIndex + count < this.Length, null, "startIndex + count < Length"); which should be: System.Diagnostics.Contracts.Contract.Requires(startIndex + count <= this.Length, null, "startIndex + count <= Length"); as it is in int String.IndexOf(string value, int startIndex, int count) for instance.
The text was updated successfully, but these errors were encountered:
Both the .NET 4.5 mscorlib contract reference assembly and \bin\Devlab9ro.NETFramework\v4.5\mscorlib.Contracts.dll for
int String.IndexOfAny(char[] anyOf, int startIndex, int count)
still contain:
System.Diagnostics.Contracts.Contract.Requires(startIndex + count < this.Length, null, "startIndex + count < Length");
which should be:System.Diagnostics.Contracts.Contract.Requires(startIndex + count <= this.Length, null, "startIndex + count <= Length");
as it is inint String.IndexOf(string value, int startIndex, int count)
for instance.The text was updated successfully, but these errors were encountered: