10 references to unaryOperator
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\NativeIntegerTests.cs (10)
13007unaryOperator("nint", "+", intMinValue, intMinValue);
13008unaryOperator("nint", "+", intMaxValue, intMaxValue);
13009unaryOperator("nuint", "+", "0", "0");
13010unaryOperator("nuint", "+", uintMaxValue, uintMaxValue);
13012unaryOperator("nint", "-", "-1", "1");
13014unaryOperator("nint", "-", "-2147483647", intMaxValue);
13015unaryOperator("nint", "-", intMaxValue, "-2147483647");
13016unaryOperator("nuint", "-", "0", null, getBadUnaryOpDiagnostics);
13017unaryOperator("nuint", "-", "1", null, getBadUnaryOpDiagnostics);
13018unaryOperator("nuint", "-", uintMaxValue, null, getBadUnaryOpDiagnostics);