Skip to content
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

[corlib] Use String from CoreCLR #9134

Merged
merged 4 commits into from Jul 15, 2018
Merged

Conversation

marek-safar
Copy link
Member

@marek-safar marek-safar commented Jun 14, 2018

(depends on fast-span)

Assert.IsNotNull (ex.Message, "#A4");
Assert.AreEqual ("value", ex.ParamName, "#A5");
}
Assert.AreEqual (string.Empty, new String ((sbyte*) null, 0, 0));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means we are not expecting an ArgumentNullException anymore, correct?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct

@@ -593,7 +593,8 @@ internal enum ExceptionArgument {
byteOffset,
minimumBufferSize,
offset,
values
values,
comparisonType
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could have comparisonType, to avoid the 2-line changes next time you need to add a value to this enum.

@akoeplinger
Copy link
Member

@monojenkins commit apidiff and csproj

monojenkins added a commit to mono/api-snapshot that referenced this pull request Jul 15, 2018
@akoeplinger akoeplinger merged commit e8539d6 into mono:master Jul 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants