static Module() { __Filters _fltObj; _fltObj = new __Filters(); FilterTypeName = new TypeFilter(_fltObj.FilterTypeName); FilterTypeNameIgnoreCase = new TypeFilter(_fltObj.FilterTypeNameIgnoreCase); }
static Module() { __Filters filters = new __Filters(); // ISSUE: virtual method pointer IntPtr method1 = __vmethodptr(filters, FilterTypeName); Module.FilterTypeName = new TypeFilter((object)filters, method1); // ISSUE: virtual method pointer IntPtr method2 = __vmethodptr(filters, FilterTypeNameIgnoreCase); Module.FilterTypeNameIgnoreCase = new TypeFilter((object)filters, method2); }