protected virtual XamlValueConverter <ValueSerializer> LookupValueSerializer() { if (Type == null) { return(null); } return(XamlType.LookupValueSerializer(Type, CustomAttributeProvider) ?? Type.ValueSerializer); }
protected virtual XamlValueConverter <ValueSerializer> LookupValueSerializer() { if (is_predefined_directive) // FIXME: this is likely a hack. { return(null); } if (Type == null) { return(null); } return(XamlType.LookupValueSerializer(Type, LookupCustomAttributeProvider()) ?? Type.ValueSerializer); }