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