14 references to constantExpression
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\NativeIntegerTests.cs (14)
13161constantExpression(opType, expr, expectedResult, diagnostics); 13162constantExpression(opType, $"checked({expr})", expectedResult, diagnostics); 13163constantExpression(opType, $"unchecked({expr})", expectedResult, diagnostics); 13185constantExpression(opType, $"unchecked({expr})", expectedResultUnchecked, Array.Empty<DiagnosticDescription>()); 13197constantExpression(opType, expr, expectedResult, Array.Empty<DiagnosticDescription>()); 13198constantExpression(opType, $"checked({expr})", expectedResult, Array.Empty<DiagnosticDescription>()); 13199constantExpression(opType, $"unchecked({expr})", expectedResult, Array.Empty<DiagnosticDescription>()); 13215constantExpression(opType, expr, expectedResult, diagnostics); 13216constantExpression(opType, $"checked({expr})", expectedResult, diagnostics); 13217constantExpression(opType, $"unchecked({expr})", expectedResult, diagnostics); 13239constantExpression(opType, $"unchecked({expr})", expectedResultUnchecked, Array.Empty<DiagnosticDescription>()); 13251constantExpression(opType, expr, expectedResult, Array.Empty<DiagnosticDescription>()); 13252constantExpression(opType, $"checked({expr})", expectedResult, Array.Empty<DiagnosticDescription>()); 13253constantExpression(opType, $"unchecked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());