Jump to content

C# expression body warnings in diff view


bochulindra

Recommended Posts

I'm on 5.4.16.766. In my Plastic SCM client Text diff view, I see a warning when I use expression bodies such as this:

public bool Property1 => Property2;

The warning is "class member declaration expected".

 

Here's an article describing expression bodies: http://www.kunal-chowdhury.com/2014/12/csharp-6-expression-bodied-method.html#LtahoEpkPkGBbK5L.97

 

Is there something I can do to fix this? Or do I just have to wait for the client to include support for the c#6 feature?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...