24 references to CacheType
mscorlib (24)
system\rttype.cs (24)
327internal MethodBase AddMethod(RuntimeType declaringType, RuntimeMethodHandleInternal method, CacheType cacheType) 337case CacheType.Method: 342case CacheType.Constructor: 378private unsafe T[] Populate(string name, MemberListType listType, CacheType cacheType) 383(cacheType == CacheType.Constructor && name.FirstChar != '.' && name.FirstChar != '*')) 417private unsafe T[] GetListByName(char* pName, int cNameLen, byte* pUtf8Name, int cUtf8Name, MemberListType listType, CacheType cacheType) 427case CacheType.Method: 430case CacheType.Field: 433case CacheType.Constructor: 436case CacheType.Property: 439case CacheType.Event: 442case CacheType.NestedType: 445case CacheType.Interface: 1528internal T[] GetMemberList(MemberListType listType, string name, CacheType cacheType) 1614private T[] GetMemberList<T>(ref MemberInfoCache<T> m_cache, MemberListType listType, string name, CacheType cacheType) 1870return GetMemberList<RuntimeMethodInfo>(ref m_methodInfoCache, listType, name, CacheType.Method); 1875return GetMemberList<RuntimeConstructorInfo>(ref m_constructorInfoCache, listType, name, CacheType.Constructor); 1880return GetMemberList<RuntimePropertyInfo>(ref m_propertyInfoCache, listType, name, CacheType.Property); 1893return GetMemberList<RuntimeEventInfo>(ref m_eventInfoCache, listType, name, CacheType.Event); 1898return GetMemberList<RuntimeFieldInfo>(ref m_fieldInfoCache, listType, name, CacheType.Field); 1903return GetMemberList<RuntimeType>(ref m_interfaceCache, listType, name, CacheType.Interface); 1908return GetMemberList<RuntimeType>(ref m_nestedClassesCache, listType, name, CacheType.NestedType); 1914return m_methodInfoCache.AddMethod(declaringType, method, CacheType.Method); 1920return m_constructorInfoCache.AddMethod(declaringType, constructor, CacheType.Constructor);