sq / JSIL

CIL to Javascript Compiler

Home Page:http://jsil.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

string.IndexOf(String value, StringComparison comparisonType) not available

tosandeepgarg opened this issue · comments

IndexOf function with StringComparison pararameter is not available.
Here is test case:

using System;

public static class Program
{
    public static void Main(string[] args)
    {
        var s = "abcdefabcdef";
        Console.WriteLine(s.IndexOf("ABC", StringComparison.OrdinalIgnoreCase));
    }
}

Similarly EndsWith is not having overload with StringComparison.

StringComparison.OrdinalIgnoreCase isn't available as well, not just the IndexOf method overload.

Just to have it mentioned, or should I create a separate issue for this one?