Browse Source

Add test case for generic attributes.

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

Loading…
Cancel
Save