31 references to unaryOp
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (31)
Semantics\NativeIntegerTests.cs (31)
9542unaryOp("+", "nint", "nint nint.op_UnaryPlus(nint value)", "3", "3", 9549unaryOp(" + ", "nuint", "nuint nuint.op_UnaryPlus(nuint value)", "3", "3", 9556unaryOp("+", "System.IntPtr"); 9557unaryOp("+", "System.UIntPtr"); 9558unaryOp("-", "nint", "nint nint.op_UnaryNegation(nint value)", "3", "-3", 9566unaryOp("-", "nuint"); 9567unaryOp("-", "System.IntPtr"); 9568unaryOp("-", "System.UIntPtr"); 9569unaryOp("!", "nint"); 9570unaryOp("!", "nuint"); 9571unaryOp("!", "System.IntPtr"); 9572unaryOp("!", "System.UIntPtr"); 9573unaryOp("~", "nint", "nint nint.op_OnesComplement(nint value)", "3", "-4", 9581unaryOp("~", "nuint", "nuint nuint.op_OnesComplement(nuint value)", "3", getComplement(3), 9589unaryOp("~", "System.IntPtr"); 9590unaryOp("~", "System.UIntPtr"); 9592unaryOp("+", "nint?", "nint nint.op_UnaryPlus(nint value)", "3", "3", 9612unaryOp("+", "nuint?", "nuint nuint.op_UnaryPlus(nuint value)", "3", "3", 9632unaryOp("+", "System.IntPtr?"); 9633unaryOp("+", "System.UIntPtr?"); 9634unaryOp("-", "nint?", "nint nint.op_UnaryNegation(nint value)", "3", "-3", 9660unaryOp("-", "System.IntPtr?"); 9661unaryOp("-", "System.UIntPtr?"); 9662unaryOp("!", "nint?"); 9663unaryOp("!", "nuint?"); 9664unaryOp("!", "System.IntPtr?"); 9665unaryOp("!", "System.UIntPtr?"); 9666unaryOp("~", "nint?", "nint nint.op_OnesComplement(nint value)", "3", "-4", 9687unaryOp("~", "nuint?", "nuint nuint.op_OnesComplement(nuint value)", "3", getComplement(3), 9708unaryOp("~", "System.IntPtr?"); 9709unaryOp("~", "System.UIntPtr?");