14 references to constantExpression
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (14)
Emit\NumericIntPtrTests.cs (14)
8910constantExpression(opType, expr, expectedResult, diagnostics); 8911constantExpression(opType, $"checked({expr})", expectedResult, diagnostics); 8912constantExpression(opType, $"unchecked({expr})", expectedResult, diagnostics); 8934constantExpression(opType, $"unchecked({expr})", expectedResultUnchecked, Array.Empty<DiagnosticDescription>()); 8946constantExpression(opType, expr, expectedResult, Array.Empty<DiagnosticDescription>()); 8947constantExpression(opType, $"checked({expr})", expectedResult, Array.Empty<DiagnosticDescription>()); 8948constantExpression(opType, $"unchecked({expr})", expectedResult, Array.Empty<DiagnosticDescription>()); 8964constantExpression(opType, expr, expectedResult, diagnostics); 8965constantExpression(opType, $"checked({expr})", expectedResult, diagnostics); 8966constantExpression(opType, $"unchecked({expr})", expectedResult, diagnostics); 8988constantExpression(opType, $"unchecked({expr})", expectedResultUnchecked, Array.Empty<DiagnosticDescription>()); 9000constantExpression(opType, expr, expectedResult, Array.Empty<DiagnosticDescription>()); 9001constantExpression(opType, $"checked({expr})", expectedResult, Array.Empty<DiagnosticDescription>()); 9002constantExpression(opType, $"unchecked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());