You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/02/22 14:48:29 UTC

[GitHub] [lucenenet] rclabo edited a comment on issue #430: Performance: Remove unnecessary casting from Clone() methods

rclabo edited a comment on issue #430:
URL: https://github.com/apache/lucenenet/issues/430#issuecomment-783426546


   @olivier-spinelli Thank you for contributing that information.  I was not previously aware of this new c#9 feature.  Pretty cool.  Unfortunately, for now I don't believe that we can leverage the features of C#9 since Lucene.Net currently targets netstandard2.0, netstandard2.1 and net45.  The language versions these frameworks support are 7.3, 8.0 and 7.3 respectively see [target framework language versions](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version) It looks like c#9 is only available when targeting .Net 5 currently.   At some point in the future, though we may be able to leverage this c#9 feature.  It's great to see this addition to the c# language has been recently added.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org