Delete legacy netcf compat support (part 1)
[platform/upstream/coreclr.git] / src / mscorlib / src / System / Reflection / FieldInfo.cs
index 2ca1c5e..fca3c25 100644 (file)
@@ -517,11 +517,6 @@ namespace System.Reflection
                 {
                     if (target == null)
                     {
-#if FEATURE_LEGACYNETCF
-                        if (CompatibilitySwitches.IsAppEarlierThanWindowsPhone8)
-                            throw new ArgumentNullException(Environment.GetResourceString("RFLCT.Targ_StatFldReqTarg"));
-                        else
-#endif
                         throw new TargetException(Environment.GetResourceString("RFLCT.Targ_StatFldReqTarg"));
                     }
                     else