There was an error while loading. Please reload this page.
2 parents 84f853e + 40e1d3d commit 0366e5fCopy full SHA for 0366e5f
1 file changed
src/ServiceStack.Text/AssemblyUtils.cs
@@ -28,9 +28,10 @@ public static class AssemblyUtils
28
/// <returns></returns>
29
public static Type FindType(string typeName)
30
{
31
+#if !SILVERLIGHT
32
var type = Type.GetType(typeName);
33
if (type != null) return type;
-
34
+#endif
35
var typeDef = new AssemblyTypeDefinition(typeName);
36
if (!String.IsNullOrEmpty(typeDef.AssemblyName))
37
0 commit comments