10 references to unaryOperator
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\NativeIntegerTests.cs (10)
12976unaryOperator("nint", "+", intMinValue, intMinValue);
12977unaryOperator("nint", "+", intMaxValue, intMaxValue);
12978unaryOperator("nuint", "+", "0", "0");
12979unaryOperator("nuint", "+", uintMaxValue, uintMaxValue);
12981unaryOperator("nint", "-", "-1", "1");
12983unaryOperator("nint", "-", "-2147483647", intMaxValue);
12984unaryOperator("nint", "-", intMaxValue, "-2147483647");
12985unaryOperator("nuint", "-", "0", null, getBadUnaryOpDiagnostics);
12986unaryOperator("nuint", "-", "1", null, getBadUnaryOpDiagnostics);
12987unaryOperator("nuint", "-", uintMaxValue, null, getBadUnaryOpDiagnostics);