3 references to ValidateSwitchCaseType
System.Core (3)
Microsoft\Scripting\Ast\SwitchExpression.cs (3)
231
ValidateSwitchCaseType
(c.Body, customType, resultType, "cases");
253
ValidateSwitchCaseType
(c.Body, customType, resultType, "cases");
274
ValidateSwitchCaseType
(defaultBody, customType, resultType, "defaultBody");