Exemplo n.º 1
0
 //
 // Returns all of the directly declared members on the given TypeInfo whose name matches filter. If filter is null,
 // returns all directly declared members.
 //
 public abstract IEnumerable <M> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter filter, RuntimeTypeInfo reflectedType);
Exemplo n.º 2
0
 public sealed override IEnumerable <Type> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter filter, 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.GetNestedTypesCore(filter));
 }
Exemplo n.º 3
0
 public sealed override IEnumerable <PropertyInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType)
 {
     return(type.CoreGetDeclaredProperties(optionalNameFilter, reflectedType));
 }
Exemplo n.º 4
0
 public sealed override IEnumerable <MethodInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter filter, RuntimeTypeInfo reflectedType)
 {
     return(type.GetMethodsCore(filter, reflectedType));
 }