示例#1
0
 static void TestInterface()
 {
     var classImplementingInterface = new ClassImplementingAnnotatedInterface();
 }
示例#2
0
 static void TestInterface(ClassImplementingAnnotatedInterface classImplementingInterface)
 {
     // The interface is not referred to anywhere, so it will be trimmed
     // but its annotation still applies
     classImplementingInterface.GetType().GetMethod("UsedMethod");
 }