You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/05/15 12:33:04 UTC

[jira] [Updated] (IGNITE-5222) .NET: LINQ does not support IndexOf with char overloads

     [ https://issues.apache.org/jira/browse/IGNITE-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Tupitsyn updated IGNITE-5222:
-----------------------------------
    Description: 
This works:
{{orgs.AsCacheQueryable().Select(x => x.Value.Name.IndexOf("a")).Dump();}}

This does not:
{{orgs.AsCacheQueryable().Select(x => x.Value.Name.IndexOf('a')).Dump();}}

See {{MethodVisitor.cs}}.

  was:
This works:
{{orgs.AsCacheQueryable().Select(x => x.Value.Name.IndexOf("a")).Dump();}}

This does not:
{{orgs.AsCacheQueryable().Select(x => x.Value.Name.IndexOf('a')).Dump();}}


> .NET: LINQ does not support IndexOf with char overloads
> -------------------------------------------------------
>
>                 Key: IGNITE-5222
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5222
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>              Labels: .NET, LINQ
>             Fix For: 2.1
>
>
> This works:
> {{orgs.AsCacheQueryable().Select(x => x.Value.Name.IndexOf("a")).Dump();}}
> This does not:
> {{orgs.AsCacheQueryable().Select(x => x.Value.Name.IndexOf('a')).Dump();}}
> See {{MethodVisitor.cs}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)