RCS0056 - roslynator_max_line_length = 180
This commit is contained in:
committed by
Matthias Mailänder
parent
822a29aa76
commit
9d5d2ab493
@@ -629,7 +629,8 @@ namespace OpenRA.Support
|
||||
if (lastToken.RightOperand == token.LeftOperand)
|
||||
{
|
||||
if (lastToken.RightOperand)
|
||||
throw new InvalidDataException($"Missing value or sub-expression or there is an extra operator `{lastToken.Symbol}` at index {lastToken.Index} or `{token.Symbol}` at index {token.Index}");
|
||||
throw new InvalidDataException(
|
||||
$"Missing value or sub-expression or there is an extra operator `{lastToken.Symbol}` at index {lastToken.Index} or `{token.Symbol}` at index {token.Index}");
|
||||
throw new InvalidDataException($"Missing binary operation before `{token.Symbol}` at index {token.Index}");
|
||||
}
|
||||
}
|
||||
@@ -736,7 +737,10 @@ namespace OpenRA.Support
|
||||
return IfThenElse(expression, One, Zero);
|
||||
}
|
||||
|
||||
throw new InvalidProgramException($"Unable to convert ExpressionType.{Enum<ExpressionType>.GetValues()[(int)fromType]} to ExpressionType.{Enum<ExpressionType>.GetValues()[(int)toType]}");
|
||||
throw new InvalidProgramException(
|
||||
"Unable to convert " +
|
||||
$"ExpressionType.{Enum<ExpressionType>.GetValues()[(int)fromType]} to " +
|
||||
$"ExpressionType.{Enum<ExpressionType>.GetValues()[(int)toType]}");
|
||||
}
|
||||
|
||||
public Expression Pop(ExpressionType type)
|
||||
|
||||
Reference in New Issue
Block a user