6 references to unaryOperatorNotConstant
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NativeIntegerTests.cs (6)
13015unaryOperatorNotConstant("nint", "~", "0", "-1"); 13016unaryOperatorNotConstant("nint", "~", "-1", "0"); 13017unaryOperatorNotConstant("nint", "~", intMinValue, "2147483647"); 13018unaryOperatorNotConstant("nint", "~", intMaxValue, "-2147483648"); 13019unaryOperatorNotConstant("nuint", "~", "0", IntPtr.Size == 4 ? uintMaxValue : ulongMaxValue); 13020unaryOperatorNotConstant("nuint", "~", uintMaxValue, IntPtr.Size == 4 ? "0" : "18446744069414584320");