summaryrefslogtreecommitdiff
path: root/src/vm/staticallocationhelpers.inl
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-03-21 09:06:54 -0700
committerJan Kotas <jkotas@microsoft.com>2016-03-21 17:39:02 -0700
commitdfd9e1b097813e9ad9d02bd0a08a25c0cc4cae32 (patch)
tree56624c47f88bc2535298efe283282ca798c902e2 /src/vm/staticallocationhelpers.inl
parentfc2246d77a951ac2111f242f3bb408af39903270 (diff)
downloadcoreclr-dfd9e1b097813e9ad9d02bd0a08a25c0cc4cae32.tar.gz
coreclr-dfd9e1b097813e9ad9d02bd0a08a25c0cc4cae32.tar.bz2
coreclr-dfd9e1b097813e9ad9d02bd0a08a25c0cc4cae32.zip
Delete legacy netcf compat support (part 1)
Diffstat (limited to 'src/vm/staticallocationhelpers.inl')
-rw-r--r--src/vm/staticallocationhelpers.inl7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vm/staticallocationhelpers.inl b/src/vm/staticallocationhelpers.inl
index a6440f62cc..26c2573762 100644
--- a/src/vm/staticallocationhelpers.inl
+++ b/src/vm/staticallocationhelpers.inl
@@ -122,13 +122,6 @@ static BOOL GetStaticFieldElementTypeForFieldDef(Module * pModule, IMDInternalIm
HRESULT hr = pImport->GetCustomAttributeByName((mdToken)field,
g_ThreadStaticAttributeClassName,
NULL, NULL);
-
-#if defined(FEATURE_LEGACYNETCF)
- // Replicate quirk from code:CMiniMd::CommonGetCustomAttributeByNameEx
- if (FAILED(hr) && RuntimeIsLegacyNetCF(0))
- hr = S_FALSE;
-#endif
-
IfFailThrow(hr);
// Use one set of variables for regular statics, and the other set for thread statics