Closed masonwheeler closed 6 years ago
asm = Assembly.GetAssembly(self.GetType()) methods = asm.GetTypes().SelectMany({t as Type | t.GetMethods()}) applied = methods.Where({m as MethodInfo | m.GetCustomAttributes(MyMacroAttribute, false).Any()}).ToArray()
Expected: The applied array should contain the method with the macro applied to it. Observed: The applied array is empty.
applied
Expected: The
applied
array should contain the method with the macro applied to it. Observed: Theapplied
array is empty.