dlr bug
[mcs.git] / tests / gtest-exmethod-15.cs
blobc22da56052a6bba60608f6418c76a156203dce2d
3 using System;
4 using System.Reflection;
6 public interface IA
8 void Foo (IA self);
11 public static class C
13 public static TAttribute GetCustomAttribute<TAttribute> (this ICustomAttributeProvider self)
15 var attributes = self.GetCustomAttributes<TAttribute> ();
16 // if (attributes == null || attributes.Length == 0)
17 // return null;
19 return attributes [0];
22 public static TAttribute [] GetCustomAttributes<TAttribute> (this ICustomAttributeProvider self)
24 return null;
27 public static void Main ()