Imported Upstream version 6.0.0.176

Former-commit-id: 832f8d999f57cff48d1880b97be189dfed6c9dc2
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-04-13 08:31:55 +00:00
parent 64ac736ec5
commit 7aefecd37c
348 changed files with 50 additions and 52967 deletions

View File

@@ -1006,8 +1006,8 @@ namespace System.Reflection.Tests
Assert.Equal(expected, type.GetTypeInfo().GetElementType());
}
[Theory]
public void GenericParameterConstraints(Type type)
[Fact]
public void GenericParameterConstraints()
{
Type[] genericTypeParameters = typeof(MethodClassWithConstraints<,>).GetTypeInfo().GenericTypeParameters;
Assert.Equal(2, genericTypeParameters.Length);