10 references to unaryOperator
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (10)
Emit\NumericIntPtrTests.cs (10)
8751unaryOperator("System.IntPtr", "+", intMinValue, intMinValue);
8752unaryOperator("System.IntPtr", "+", intMaxValue, intMaxValue);
8753unaryOperator("System.UIntPtr", "+", "0", "0");
8754unaryOperator("System.UIntPtr", "+", uintMaxValue, uintMaxValue);
8756unaryOperator("System.IntPtr", "-", "-1", "1");
8758unaryOperator("System.IntPtr", "-", "-2147483647", intMaxValue);
8759unaryOperator("System.IntPtr", "-", intMaxValue, "-2147483647");
8760unaryOperator("System.UIntPtr", "-", "0", null, getBadUnaryOpDiagnostics);
8761unaryOperator("System.UIntPtr", "-", "1", null, getBadUnaryOpDiagnostics);
8762unaryOperator("System.UIntPtr", "-", uintMaxValue, null, getBadUnaryOpDiagnostics);