10 references to unaryOperator
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\NativeIntegerTests.cs (10)
13002unaryOperator("nint", "+", intMinValue, intMinValue);
13003unaryOperator("nint", "+", intMaxValue, intMaxValue);
13004unaryOperator("nuint", "+", "0", "0");
13005unaryOperator("nuint", "+", uintMaxValue, uintMaxValue);
13007unaryOperator("nint", "-", "-1", "1");
13009unaryOperator("nint", "-", "-2147483647", intMaxValue);
13010unaryOperator("nint", "-", intMaxValue, "-2147483647");
13011unaryOperator("nuint", "-", "0", null, getBadUnaryOpDiagnostics);
13012unaryOperator("nuint", "-", "1", null, getBadUnaryOpDiagnostics);
13013unaryOperator("nuint", "-", uintMaxValue, null, getBadUnaryOpDiagnostics);