Get name of variable at compilation rather than string literal.

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

View file

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