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] != '*')) 370private unsafe T[] GetListByName(char* pName, int cNameLen, byte* pUtf8Name, int cUtf8Name, MemberListType listType, CacheType cacheType) 380case CacheType.Method: 383case CacheType.Field: 386case CacheType.Constructor: 389case CacheType.Property: 392case CacheType.Event: 395case CacheType.NestedType: 398case CacheType.Interface: 1412internal T[] GetMemberList(MemberListType listType, string? name, CacheType cacheType) 1479private T[] GetMemberList<T>(ref MemberInfoCache<T>? m_cache, MemberListType listType, string? name, CacheType cacheType) 1725return GetMemberList(ref m_methodInfoCache, listType, name, CacheType.Method); 1730return GetMemberList(ref m_constructorInfoCache, listType, name, CacheType.Constructor); 1735return GetMemberList(ref m_propertyInfoCache, listType, name, CacheType.Property); 1740return GetMemberList(ref m_eventInfoCache, listType, name, CacheType.Event); 1745return GetMemberList(ref m_fieldInfoCache, listType, name, CacheType.Field); 1750return GetMemberList(ref m_interfaceCache, listType, name, CacheType.Interface); 1755return GetMemberList(ref m_nestedClassesCache, listType, name, CacheType.NestedType); 1761return m_methodInfoCache!.AddMethod(declaringType, method, CacheType.Method); 1767return m_constructorInfoCache!.AddMethod(declaringType, constructor, CacheType.Constructor);