26 references to CacheType
System.Private.CoreLib (26)
src\System\RuntimeType.CoreCLR.cs (26)
214internal MethodBase AddMethod(RuntimeType declaringType, RuntimeMethodHandleInternal method, CacheType cacheType)
226if (cacheType == CacheType.Method)
241else if (cacheType == CacheType.Constructor)
266case CacheType.Method:
273case CacheType.Constructor:
331private unsafe T[] Populate(string? name, MemberListType listType, CacheType cacheType)
336(cacheType == CacheType.Constructor && name[0] != '.' && name[0] != '*'))
355private unsafe T[] GetListByName(string name, Span<byte> utf8Name, MemberListType listType, CacheType cacheType)
367case CacheType.Method:
370case CacheType.Field:
373case CacheType.Constructor:
376case CacheType.Property:
379case CacheType.Event:
382case CacheType.NestedType:
385case CacheType.Interface:
1380internal T[] GetMemberList(MemberListType listType, string? name, CacheType cacheType)
1444private T[] GetMemberList<T>(ref MemberInfoCache<T>? m_cache, MemberListType listType, string? name, CacheType cacheType)
1691return GetMemberList(ref m_methodInfoCache, listType, name, CacheType.Method);
1696return GetMemberList(ref m_constructorInfoCache, listType, name, CacheType.Constructor);
1701return GetMemberList(ref m_propertyInfoCache, listType, name, CacheType.Property);
1706return GetMemberList(ref m_eventInfoCache, listType, name, CacheType.Event);
1711return GetMemberList(ref m_fieldInfoCache, listType, name, CacheType.Field);
1716return GetMemberList(ref m_interfaceCache, listType, name, CacheType.Interface);
1721return GetMemberList(ref m_nestedClassesCache, listType, name, CacheType.NestedType);
1727return m_methodInfoCache!.AddMethod(declaringType, method, CacheType.Method);
1733return m_constructorInfoCache!.AddMethod(declaringType, constructor, CacheType.Constructor);