-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move some Mono corelib strings to resources/nameof #34089
Conversation
@jaredpar thoughts?
|
@danmosemsft looks like #34015 is impacting CI builds now too as well as official. |
...ono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.Mono.cs
Show resolved
Hide resolved
@@ -415,7 +415,7 @@ public override Type GetType(string className, bool throwOnError, bool ignoreCas | |||
if (className == null) | |||
throw new ArgumentNullException(nameof(className)); | |||
if (className.Length == 0) | |||
throw new ArgumentException("className"); | |||
throw new ArgumentException(nameof(className)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first argument to ArgumentException is a message, not the parameter name (unfortunately).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Literally 20 minutes ago I was pointing out on the analyzers issue that we had several instances of this mistake. That's my excuse.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok 😄
Unrelated test failures . Perf failure on other jobs also |
Contributes to #34056