Commit 26351d44 authored by Jeremy Meng's avatar Jeremy Meng

Fix a bug in the GetTypeCode() extension method for non-CoreClr.

parent 5e94e688
...@@ -753,7 +753,7 @@ internal static TypeCode GetTypeCode(this Type type) ...@@ -753,7 +753,7 @@ internal static TypeCode GetTypeCode(this Type type)
#else #else
internal static TypeCode GetTypeCode(this Type type) internal static TypeCode GetTypeCode(this Type type)
{ {
return type.GetTypeCode(); return Type.GetTypeCode(type);
} }
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment