6 references to unaryOperatorNotConstant
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Emit\NumericIntPtrTests.cs (6)
8764unaryOperatorNotConstant("System.IntPtr", "~", "0", "-1"); 8765unaryOperatorNotConstant("System.IntPtr", "~", "-1", "0"); 8766unaryOperatorNotConstant("System.IntPtr", "~", intMinValue, "2147483647"); 8767unaryOperatorNotConstant("System.IntPtr", "~", intMaxValue, "-2147483648"); 8768unaryOperatorNotConstant("System.UIntPtr", "~", "0", IntPtr.Size == 4 ? uintMaxValue : ulongMaxValue); 8769unaryOperatorNotConstant("System.UIntPtr", "~", uintMaxValue, IntPtr.Size == 4 ? "0" : "18446744069414584320");