protected override bool PassesSecondaryFilter(IPropertySymbol propInfo) { return(propInfo.FindCustomDeserializerType() == null); }
private INamedTypeSymbol FindCustomSerializerType(IPropertySymbol property) { // Try getting the custom deserializer from the property's attributes first, and then from the // type of the property (since it, too, can have a custom deserialization strategy) return(property.FindCustomDeserializerType() ?? property.Type.FindCustomDeserializerType()); }