wrong field is never assigned suggestion
Hi I am using version 4.5.1231.7 and for the code bellow
private string nameWithSR;
public string NameWithSR
{
get { return nameWithSR; }
set
{
this.SetProperty(()=>NameWithSR,()=>nameWithSR,value);
}
}
i get a field is never assigned suggestion. Which is wrong cause I assign the value of nameWithSR inside SetProperty method
Please sign in to leave a comment.
Hi,
Could you provide implementation of method SetProperty? It's very difficult to assign value to this field inside this method or am I miss smth?