26 references to CacheType
System.Private.CoreLib (26)
src\System\RuntimeType.CoreCLR.cs (26)
207internal MethodBase AddMethod(RuntimeType declaringType, RuntimeMethodHandleInternal method, CacheType cacheType) 219if (cacheType == CacheType.Method) 234else if (cacheType == CacheType.Constructor) 259case CacheType.Method: 266case CacheType.Constructor: 324private unsafe T[] Populate(string? name, MemberListType listType, CacheType cacheType) 329(cacheType == CacheType.Constructor && name[0] != '.' && name[0] != '*')) 348private unsafe T[] GetListByName(string name, Span<byte> utf8Name, MemberListType listType, CacheType cacheType) 360case CacheType.Method: 363case CacheType.Field: 366case CacheType.Constructor: 369case CacheType.Property: 372case CacheType.Event: 375case CacheType.NestedType: 378case CacheType.Interface: 1373internal T[] GetMemberList(MemberListType listType, string? name, CacheType cacheType) 1440private T[] GetMemberList<T>(ref MemberInfoCache<T>? m_cache, MemberListType listType, string? name, CacheType cacheType) 1667return GetMemberList(ref m_methodInfoCache, listType, name, CacheType.Method); 1672return GetMemberList(ref m_constructorInfoCache, listType, name, CacheType.Constructor); 1677return GetMemberList(ref m_propertyInfoCache, listType, name, CacheType.Property); 1682return GetMemberList(ref m_eventInfoCache, listType, name, CacheType.Event); 1687return GetMemberList(ref m_fieldInfoCache, listType, name, CacheType.Field); 1692return GetMemberList(ref m_interfaceCache, listType, name, CacheType.Interface); 1697return GetMemberList(ref m_nestedClassesCache, listType, name, CacheType.NestedType); 1703return m_methodInfoCache!.AddMethod(declaringType, method, CacheType.Method); 1709return m_constructorInfoCache!.AddMethod(declaringType, constructor, CacheType.Constructor);