6 references to unaryOperatorNotConstant
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NativeIntegerTests.cs (6)
12989unaryOperatorNotConstant("nint", "~", "0", "-1");
12990unaryOperatorNotConstant("nint", "~", "-1", "0");
12991unaryOperatorNotConstant("nint", "~", intMinValue, "2147483647");
12992unaryOperatorNotConstant("nint", "~", intMaxValue, "-2147483648");
12993unaryOperatorNotConstant("nuint", "~", "0", IntPtr.Size == 4 ? uintMaxValue : ulongMaxValue);
12994unaryOperatorNotConstant("nuint", "~", uintMaxValue, IntPtr.Size == 4 ? "0" : "18446744069414584320");