26 references to CacheType
System.Private.CoreLib (26)
src\System\RuntimeType.CoreCLR.cs (26)
210internal MethodBase AddMethod(RuntimeType declaringType, RuntimeMethodHandleInternal method, CacheType cacheType)
222if (cacheType == CacheType.Method)
237else if (cacheType == CacheType.Constructor)
262case CacheType.Method:
269case CacheType.Constructor:
327private unsafe T[] Populate(string? name, MemberListType listType, CacheType cacheType)
332(cacheType == CacheType.Constructor && name[0] != '.' && name[0] != '*'))
351private unsafe T[] GetListByName(string name, Span<byte> utf8Name, MemberListType listType, CacheType cacheType)
363case CacheType.Method:
366case CacheType.Field:
369case CacheType.Constructor:
372case CacheType.Property:
375case CacheType.Event:
378case CacheType.NestedType:
381case CacheType.Interface:
1424internal T[] GetMemberList(MemberListType listType, string? name, CacheType cacheType)
1491private T[] GetMemberList<T>(ref MemberInfoCache<T>? m_cache, MemberListType listType, string? name, CacheType cacheType)
1719return GetMemberList(ref m_methodInfoCache, listType, name, CacheType.Method);
1724return GetMemberList(ref m_constructorInfoCache, listType, name, CacheType.Constructor);
1729return GetMemberList(ref m_propertyInfoCache, listType, name, CacheType.Property);
1734return GetMemberList(ref m_eventInfoCache, listType, name, CacheType.Event);
1739return GetMemberList(ref m_fieldInfoCache, listType, name, CacheType.Field);
1744return GetMemberList(ref m_interfaceCache, listType, name, CacheType.Interface);
1749return GetMemberList(ref m_nestedClassesCache, listType, name, CacheType.NestedType);
1755return m_methodInfoCache!.AddMethod(declaringType, method, CacheType.Method);
1761return m_constructorInfoCache!.AddMethod(declaringType, constructor, CacheType.Constructor);