3 references to ValidateSwitchCaseType
System.Linq.Expressions (3)
System\Linq\Expressions\SwitchExpression.cs (3)
222ValidateSwitchCaseType(c.Body, customType, resultType, nameof(cases)); 257ValidateSwitchCaseType(c.Body, customType, resultType, nameof(cases)); 283ValidateSwitchCaseType(defaultBody, customType, resultType, nameof(defaultBody));