Get name of variable at compilation rather than string literal.

This commit is contained in:
riperiperi 2020-03-04 21:05:44 +00:00
parent 5bf2d05031
commit e5832cf653

View file

@ -251,7 +251,7 @@ namespace ARMeilleure.Instructions
roundMode = FPRoundingMode.TowardsMinusInfinity;
break;
default:
throw new ArgumentOutOfRangeException($"rm");
throw new ArgumentOutOfRangeException(nameof(rm));
}
return roundMode;
}