ocamllibs icon indicating copy to clipboard operation
ocamllibs copied to clipboard

[ilib] Some optional arguments are not considered optional

Open kLabz opened this issue 6 years ago • 0 comments

Using net-libs, some optional arguments are not defined as optional. They are defined as

public static Task<List<TSource>> ToListAsync<TSource>(this IQueryable<TSource> source, CancellationToken cancellationToken = null)

(See EntityFrameworkQueryableExtensions.ToListAsync())

Which is parsed as

static method ToListAsync : function generic classtype System.Threading.Tasks.Task`1<generic classtype System.Collections.Generic.List`1<!0>>(generic classtype System.Linq.IQueryable`1<!0>, valuetype System.Threading.CancellationToken)

kLabz avatar Feb 26 '19 15:02 kLabz