Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@MaximLipnin
Copy link
Contributor

This PR adds several unit tests. The fix is in mono/corert#27.

Fixes #10951

Assert.AreEqual (typeof (int), arr [1].Value.GetType (), $"{methodName}#10");
}

private void CheckObjectArrayParams ()
Copy link
Member

Choose a reason for hiding this comment

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

Should be just normal [Test] method

// https://github.com/mono/mono/issues/10951
public void ObjectArrays ()
{
CheckObjectArrayParam (nameof (MethodDecoratedWithAttribute3));
Copy link
Member

Choose a reason for hiding this comment

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

It's fine to duplicate the test code

@MaximLipnin MaximLipnin requested a review from luhenry as a code owner October 4, 2018 08:04
@marek-safar
Copy link
Member

@monojenkins backport 2018-10

@MaximLipnin
Copy link
Contributor Author

Seems that another issue should be resolved here.

@marek-safar
Copy link
Member

There is a lot of failing tests

@marek-safar
Copy link
Member

@monojenkins backport 2018-10

@MaximLipnin
Copy link
Contributor Author

Thanks for review!

@MaximLipnin MaximLipnin deleted the Bug10951 branch October 5, 2018 08:02
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.

CustomAttribute's typed argument value has incorrect type for enum arguments

2 participants