summaryrefslogtreecommitdiff
path: root/src/vm/fieldmarshaler.h
diff options
context:
space:
mode:
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>2019-03-05 20:54:49 -0800
committerGitHub <noreply@github.com>2019-03-05 20:54:49 -0800
commit400b472f3333fd2a5371fcab7c34c2892b6324c6 (patch)
tree24d947afe421113e43c29bfae48a414e887794e4 /src/vm/fieldmarshaler.h
parent3662d02bb222728ebed70d6d73f89a63c9910ffb (diff)
downloadcoreclr-400b472f3333fd2a5371fcab7c34c2892b6324c6.tar.gz
coreclr-400b472f3333fd2a5371fcab7c34c2892b6324c6.tar.bz2
coreclr-400b472f3333fd2a5371fcab7c34c2892b6324c6.zip
Move HasLayoutMetadata to methodtablebuilder.cpp (#23015)
* Move HasLayoutMetadata to methodtablebuilder.cpp * Collapse auto case into unicode case. * Remove ancient workaround for Managed C++ compiler bug.
Diffstat (limited to 'src/vm/fieldmarshaler.h')
-rw-r--r--src/vm/fieldmarshaler.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/vm/fieldmarshaler.h b/src/vm/fieldmarshaler.h
index e83835844a..e3eba6cd6d 100644
--- a/src/vm/fieldmarshaler.h
+++ b/src/vm/fieldmarshaler.h
@@ -119,25 +119,6 @@ VOID ParseNativeType(Module* pModule,
BOOL IsFieldBlittable(FieldMarshaler* pFM);
//=======================================================================
-// This is invoked from the class loader while building the data structures for a type.
-// This function checks if explicit layout metadata exists.
-//
-// Returns:
-// TRUE - yes, there's layout metadata
-// FALSE - no, there's no layout.
-// fail - throws a typeload exception
-//
-// If S_OK,
-// *pNLType gets set to nltAnsi or nltUnicode
-// *pPackingSize declared packing size
-// *pfExplicitoffsets offsets explicit in metadata or computed?
-//=======================================================================
-BOOL HasLayoutMetadata(Assembly* pAssembly, IMDInternalImport *pInternalImport, mdTypeDef cl,
- MethodTable *pParentMT, BYTE *pPackingSize, BYTE *pNLTType,
- BOOL *pfExplicitOffsets);
-
-
-//=======================================================================
// This function returns TRUE if the type passed in is either a value class or a class and if it has layout information
// and is marshalable. In all other cases it will return FALSE.
//=======================================================================