Add exception message to CSharpCompilation.GetSpecialType
Related to https://devdiv.visualstudio.com/DevDiv/_workitems/edit/459418. Our non-fatal error reports indicate this method is often called with an out-of-range value for the `specialType` parameter. This commit adds a custom message to the resulting `ArgumentOutOfRangeException` so we can see what we're being asked about.
Showing
想要评论请 注册 或 登录