public partial class L2SEntity {
public void Scale(double d) {
if (this.Amount.HasValue)
this.Amount.Value *= d;
}
}
Results in the following error:
Error 2 Property or indexer 'System.Nullable<double>.Value' cannot be assigned to -- it is read only
How do I change the Amount's (type of double?) value?