You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privateprotectedstaticvoidThrowIORequired()=>thrownewInvalidOperationException("Buffer requirements for current data format were not respected, expected no IO to be required.");
131
+
privateprotectedstaticvoidThrowIORequired()
132
+
=>thrownewInvalidOperationException("Fixed sizedness for format not respected, expected no IO to be required.");
129
133
}
130
134
131
135
publicabstractclassPgConverter<T>:PgConverter
@@ -150,7 +154,9 @@ public bool IsDbNullValue([NotNullWhen(false)] T? value)
150
154
};
151
155
152
156
// We do the null check to keep the NotNullWhen(false) invariant.
153
-
boolCustom()=>IsDbNull(value)||(valueisnull?thrownewArgumentNullException("Null value given for non-nullable type converter"):false);
157
+
boolCustom()=>IsDbNull(value)||(valueisnull
158
+
?thrownewArgumentNullException("Null value given for non-nullable type converter")
Copy file name to clipboardExpand all lines: src/Npgsql/Internal/PgConverterResolver.cs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -94,8 +94,9 @@ public abstract class PgConverterResolver<T> : PgConverterResolver
94
94
/// <param name="expectedPgTypeId"></param>
95
95
/// <returns>The converter resolution.</returns>
96
96
/// <remarks>
97
-
/// Implementations should not return new instances of the possible converters that can be returned, instead its expected these are cached once used.
98
-
/// Array or other collection converters depend on this to cache their own converter - which wraps the element converter - with the cache key being the element converter reference.
97
+
/// Implementations should not return new instances of the possible converters that can be returned, instead its expected these are
98
+
/// cached once used. Array or other collection converters depend on this to cache their own converter - which wraps the element
99
+
/// converter - with the cache key being the element converter reference.
0 commit comments