This commit is contained in:
mark 2012-01-03 00:41:15 +00:00
parent 558fcf495a
commit 6bd4e084c7

View file

@ -1137,8 +1137,9 @@ namespace Server
if ( s == null )
return false;
#if Framework_4_0
Type type = typeof(T);
#if Framework_4_0
T tempVal;
if( type.IsEnum && Enum.TryParse( s, true, out tempVal ) )