Get name of variable at compilation rather than string literal.
This commit is contained in:
parent
5bf2d05031
commit
e5832cf653
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ namespace ARMeilleure.Instructions
|
|||
roundMode = FPRoundingMode.TowardsMinusInfinity;
|
||||
break;
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException($"rm");
|
||||
throw new ArgumentOutOfRangeException(nameof(rm));
|
||||
}
|
||||
return roundMode;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue