public static IXamlType TryGetTypeConverterFromCustomAttribute(TransformerConfiguration cfg, IXamlCustomAttribute attribute) { if (attribute != null) { var arg = attribute.Parameters.FirstOrDefault(); return((arg as IXamlType) ?? (arg is String sarg ? cfg.TypeSystem.FindType(sarg) : null)); } return(null); }
public bool Equals(IXamlCustomAttribute other) => false;
public bool Equals(IXamlCustomAttribute other) { return(((SreCustomAttribute)other)?._data.Equals(_data) == true); }
public bool Equals(IXamlCustomAttribute other) => other is CecilCustomAttribute ca && ca.Data == Data;
public bool Equals(IXamlCustomAttribute other) => other is RoslynAttribute attribute &&