6 references to unaryOperatorNotConstant
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NativeIntegerTests.cs (6)
13020unaryOperatorNotConstant("nint", "~", "0", "-1"); 13021unaryOperatorNotConstant("nint", "~", "-1", "0"); 13022unaryOperatorNotConstant("nint", "~", intMinValue, "2147483647"); 13023unaryOperatorNotConstant("nint", "~", intMaxValue, "-2147483648"); 13024unaryOperatorNotConstant("nuint", "~", "0", IntPtr.Size == 4 ? uintMaxValue : ulongMaxValue); 13025unaryOperatorNotConstant("nuint", "~", uintMaxValue, IntPtr.Size == 4 ? "0" : "18446744069414584320");