* Fix endless recursion in AssemblyBuilder.GetCustomAttributesData()
and ModuleBuilder.GetCustomAttributesData()
* Re-enable test cases that now pass on Mono
Co-authored-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
}
[Theory]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/2389", TestRuntimes.Mono)]
[MemberData(nameof(DefineDynamicAssembly_TestData))]
public void DefineDynamicAssembly_AssemblyName_AssemblyBuilderAccess(AssemblyName name, AssemblyBuilderAccess access)
{
}
[Theory]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/2389", TestRuntimes.Mono)]
[MemberData(nameof(DefineDynamicAssembly_CustomAttributes_TestData))]
public void DefineDynamicAssembly_AssemblyName_AssemblyBuilderAccess_CustomAttributeBuilder(AssemblyName name, AssemblyBuilderAccess access, IEnumerable<CustomAttributeBuilder> attributes)
{
public override object[] GetCustomAttributes(Type attributeType, bool inherit) =>
CustomAttribute.GetCustomAttributes(this, attributeType, inherit);
- public override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributeData.GetCustomAttributes(this);
+ public override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttribute.GetCustomAttributesData(this);
}
}
#endif
public override IList<CustomAttributeData> GetCustomAttributesData()
{
- return CustomAttributeData.GetCustomAttributes(this);
+ return CustomAttribute.GetCustomAttributesData(this);
}
[RequiresUnreferencedCode("Fields might be removed")]