Skip to content

Commit

Permalink
boy-scout.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel Nobel committed May 3, 2023
1 parent 06753c7 commit a4c5c90
Show file tree
Hide file tree
Showing 5 changed files with 306 additions and 324 deletions.
2 changes: 1 addition & 1 deletion specs/Qowaiv.Specs/Extensions/Type_specs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ internal class NestedType { }

internal static class GenericOf
{
public static TModel Default<TModel>() => default;
public static TModel? Default<TModel>() => default;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public void not_defined_converter()
[TypeConverter(typeof(WithConverterTypeConverter))]
internal readonly struct WithConverter : IFormattable
{
public string ToString(string format, IFormatProvider formatProvider) => 17.ToString(format, formatProvider);
public string ToString(string? format, IFormatProvider? formatProvider) => 17.ToString(format, formatProvider);
}

internal class WithConverterTypeConverter : Qowaiv.Conversion.SvoTypeConverter<WithConverter>
{
protected override WithConverter FromString(string str, CultureInfo culture) => new();
protected override WithConverter FromString(string? str, CultureInfo? culture) => new();
}

0 comments on commit a4c5c90

Please sign in to comment.