10 references to unaryOperator
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\NativeIntegerTests.cs (10)
13010unaryOperator("nint", "+", intMinValue, intMinValue); 13011unaryOperator("nint", "+", intMaxValue, intMaxValue); 13012unaryOperator("nuint", "+", "0", "0"); 13013unaryOperator("nuint", "+", uintMaxValue, uintMaxValue); 13015unaryOperator("nint", "-", "-1", "1"); 13017unaryOperator("nint", "-", "-2147483647", intMaxValue); 13018unaryOperator("nint", "-", intMaxValue, "-2147483647"); 13019unaryOperator("nuint", "-", "0", null, getBadUnaryOpDiagnostics); 13020unaryOperator("nuint", "-", "1", null, getBadUnaryOpDiagnostics); 13021unaryOperator("nuint", "-", uintMaxValue, null, getBadUnaryOpDiagnostics);