26 references to CacheType
System.Private.CoreLib (26)
src\System\RuntimeType.CoreCLR.cs (26)
209internal MethodBase AddMethod(RuntimeType declaringType, RuntimeMethodHandleInternal method, CacheType cacheType) 221if (cacheType == CacheType.Method) 236else if (cacheType == CacheType.Constructor) 261case CacheType.Method: 268case CacheType.Constructor: 326private unsafe T[] Populate(string? name, MemberListType listType, CacheType cacheType) 331(cacheType == CacheType.Constructor && name[0] != '.' && name[0] != '*')) 350private unsafe T[] GetListByName(string name, Span<byte> utf8Name, MemberListType listType, CacheType cacheType) 362case CacheType.Method: 365case CacheType.Field: 368case CacheType.Constructor: 371case CacheType.Property: 374case CacheType.Event: 377case CacheType.NestedType: 380case CacheType.Interface: 1423internal T[] GetMemberList(MemberListType listType, string? name, CacheType cacheType) 1490private T[] GetMemberList<T>(ref MemberInfoCache<T>? m_cache, MemberListType listType, string? name, CacheType cacheType) 1718return GetMemberList(ref m_methodInfoCache, listType, name, CacheType.Method); 1723return GetMemberList(ref m_constructorInfoCache, listType, name, CacheType.Constructor); 1728return GetMemberList(ref m_propertyInfoCache, listType, name, CacheType.Property); 1733return GetMemberList(ref m_eventInfoCache, listType, name, CacheType.Event); 1738return GetMemberList(ref m_fieldInfoCache, listType, name, CacheType.Field); 1743return GetMemberList(ref m_interfaceCache, listType, name, CacheType.Interface); 1748return GetMemberList(ref m_nestedClassesCache, listType, name, CacheType.NestedType); 1754return m_methodInfoCache!.AddMethod(declaringType, method, CacheType.Method); 1760return m_constructorInfoCache!.AddMethod(declaringType, constructor, CacheType.Constructor);