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