Create property/field/local variable not working correctly
Hi,
In the code below stockTransactions.First().Invoice is of type Journal.
In 5.1.3 create property field/property/local variable will pick this up and correctly create the property for me. In Build 6.0.2102.59 it creates:
protected object PurchaseInvoice { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
instead of
private Journal PurchaseInvoice {get;set;}
Regards
Jeremy
Please sign in to leave a comment.
Hello Jeremy,
I've tested this behavior with both ReSharper 5.1.3 and the latest ReSharper
6.0 EAP and they both generate
protected object PurchaseInvoice
{
get { throw new NotImplementedException(); }
set { throw new NotImplementedException(); }
}
with the pop-up menu that lets you generate an auto-property, property with
backing field or leave the default implementation. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"