summaryrefslogtreecommitdiff
path: root/src/vm/typeparse.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-08-11 07:43:16 -0700
committerGitHub <noreply@github.com>2018-08-11 07:43:16 -0700
commitaf4ec7c89d0192ad14392da04e8c097da8ec9e48 (patch)
tree0b3018c1c576114d2b5b0f355df6ff48972a6c5d /src/vm/typeparse.h
parentf551543427176850c84b9e11c7b8d528c3f282a7 (diff)
downloadcoreclr-af4ec7c89d0192ad14392da04e8c097da8ec9e48.tar.gz
coreclr-af4ec7c89d0192ad14392da04e8c097da8ec9e48.tar.bz2
coreclr-af4ec7c89d0192ad14392da04e8c097da8ec9e48.zip
Make RuntimeType sealed and deleted support for introspection only loads (#19427)
- Sealed Runtime makes `is RuntimeType` and similar checks faster. These checks are fairly common in reflection. - Delete support for introspection only loads from the runtime. We do not plan to use in .NET Core. The support for introspection loads inherited from RuntimeType and thus it is incompatible with sealed RuntimeType.
Diffstat (limited to 'src/vm/typeparse.h')
-rw-r--r--src/vm/typeparse.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vm/typeparse.h b/src/vm/typeparse.h
index 0665f906a4..a2ec689814 100644
--- a/src/vm/typeparse.h
+++ b/src/vm/typeparse.h
@@ -50,7 +50,6 @@ DomainAssembly * LoadDomainAssembly(
Assembly * pRequestingAssembly,
ICLRPrivBinder * pPrivHostBinder,
BOOL bThrowIfNotFound,
- BOOL bIntrospectionOnly,
SString * pssOuterTypeName);
class TypeNameFactory : public ITypeNameFactory
@@ -323,12 +322,12 @@ public:
//-------------------------------------------------------------------------------------------
static TypeHandle GetTypeFromAssembly(LPCWSTR szTypeName, Assembly *pAssembly, BOOL bThrowIfNotFound = TRUE);
- TypeHandle GetTypeFromAsm(BOOL bForIntrospection);
+ TypeHandle GetTypeFromAsm();
//-------------------------------------------------------------------------------------------
// Retrieves a type. Will assert if the name is not fully qualified.
//-------------------------------------------------------------------------------------------
- static TypeHandle GetTypeFromAsmQualifiedName(LPCWSTR szFullyQualifiedName, BOOL bForIntrospection);
+ static TypeHandle GetTypeFromAsmQualifiedName(LPCWSTR szFullyQualifiedName);
//-------------------------------------------------------------------------------------------
@@ -366,7 +365,6 @@ public:
DomainAssembly* pAssemblyGetType,
BOOL bThrowIfNotFound,
BOOL bIgnoreCase,
- BOOL bIntrospectionOnly,
BOOL bProhibitAssemblyQualifiedName,
StackCrawlMark* pStackMark,
BOOL bLoadTypeFromPartialNameHack,
@@ -427,7 +425,6 @@ private:
TypeHandle GetTypeWorker(
BOOL bThrowIfNotFound,
BOOL bIgnoreCase,
- BOOL bIntrospectionOnly,
Assembly* pAssemblyGetType,
BOOL fEnableCASearchRules,