13 references to DeclaredOnlyLookup
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeInfo.cs (13)
19public virtual EventInfo? GetDeclaredEvent(string name) => GetEvent(name, DeclaredOnlyLookup); 22public virtual FieldInfo? GetDeclaredField(string name) => GetField(name, DeclaredOnlyLookup); 25public virtual MethodInfo? GetDeclaredMethod(string name) => GetMethod(name, DeclaredOnlyLookup); 28public virtual TypeInfo? GetDeclaredNestedType(string name) => GetNestedType(name, DeclaredOnlyLookup)?.GetTypeInfo(); 31public virtual PropertyInfo? GetDeclaredProperty(string name) => GetProperty(name, DeclaredOnlyLookup); 45Type type) => type.GetMethods(DeclaredOnlyLookup); 51get => GetConstructors(DeclaredOnlyLookup); 57get => GetEvents(DeclaredOnlyLookup); 63get => GetFields(DeclaredOnlyLookup); 69get => GetMembers(DeclaredOnlyLookup); 75get => GetMethods(DeclaredOnlyLookup); 91Type type) => type.GetNestedTypes(DeclaredOnlyLookup); 98get => GetProperties(DeclaredOnlyLookup);