public void CoverageFix() { var attribute = new MapArrayAttribute(0); Assert.Throws <NotSupportedException>(() => attribute.Filler); Assert.Throws <ArgumentOutOfRangeException>(() => new MapArrayAttribute(-1)); }
private static IMapConverterBuilder CreateConverterBuilder( MapArrayAttribute arrayAttribute, AbstractMemberMapAttribute memberAttribute) { if (arrayAttribute is null) { return(memberAttribute.GetConverterBuilder()); } var builder = arrayAttribute.GetArrayConverterBuilder(); builder.ElementConverterBuilder = memberAttribute.GetConverterBuilder(); return(builder); }