static public ConstructorInfo void_decimal_ctor_five_args;
static public ConstructorInfo void_datetime_ctor_ticks_arg;
static public ConstructorInfo unverifiable_code_ctor;
+ static public ConstructorInfo default_member_ctor;
// <remarks>
// Holds the Array of Assemblies that have been loaded
unverifiable_code_ctor = GetConstructor (
unverifiable_code_type, void_arg);
+ default_member_ctor = GetConstructor (
+ default_member_type, string_);
}
const BindingFlags instance_and_static = BindingFlags.Static | BindingFlags.Instance;
if (t.IsInterface) {
Interface i = LookupInterface (t);
- if ((i == null) || (i.IndexerName == null))
+ if ((i == null) || (i.DefaultPropName == null))
return "Item";
- return i.IndexerName;
+ return i.DefaultPropName;
} else {
TypeContainer tc = LookupTypeContainer (t);
- if ((tc == null) || (tc.IndexerName == null))
+ if ((tc == null) || (tc.DefaultPropName == null))
return "Item";
- return tc.IndexerName;
+ return tc.DefaultPropName;
}
}