public static Type BindToType (this SerializationBinder @this, Type baseType, string typeName) { var contextualBinder = @this as DictionarySerializationBinder; return contextualBinder != null ? contextualBinder.ContextualBindToType(baseType, "", typeName) : @this.BindToType("", typeName); }
public static Type BindToType (this SerializationBinder @this, string typeName) { return @this.BindToType("", typeName); }