Browse Source

Add test case for generic attributes.

pull/2993/head
Daniel Grunwald 3 years ago
parent
commit
4aa9280a8e
  1. 9
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes.cs

9
ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes.cs

@ -163,8 +163,13 @@ namespace CustomAttributes
public static void UseGenericAttribute() public static void UseGenericAttribute()
{ {
} }
// TODO: add test for generic attributes with arguments of type T [Generic<int>(42)]
// This is blocked by https://github.com/dotnet/runtime/issues/58073 [Generic<string>("Hi")]
[Generic<object>("Hi")]
[Generic<object>((short)42)]
public static void UseGenericAttributeWithArg()
{
}
#endif #endif
} }
} }

Loading…
Cancel
Save