Exemple #1
0
 public sealed override IEnumerable <Type> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType)
 {
     Debug.Assert(reflectedType.Equals(type));  // NestedType queries are always performed as if BindingFlags.DeclaredOnly are set so the reflectedType should always be the declaring type.
     return(type.CoreGetDeclaredNestedTypes(optionalNameFilter));
 }