Resharper showing error when lambda used in property get set

VS 2017 RC.

I had VS create automatically some interface implementations and RS 2016.3 is flagging them as errors which cascade into dozens of error in subsequent code lines.

Here's the generic interface implementation VS created:

public bool IsMoveable { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }

If I rewrite as

        public bool IsMoveable
        {
            get { throw new NotImplementedException(); }
            set { throw new NotImplementedException(); }
        }

then all is well with Resharper.

Is this a known issue?

0
1 comment

I don't think 2016 fully supports VS2017 and the new C# 7 features. You might want to try the latest EAP of 2017:
https://www.jetbrains.com/resharper/eap/

0

Please sign in to leave a comment.