@@ -200,7 +200,7 @@ internal static bool RemoveStringQuotes(string quotePrefix, string quoteSuffix,
200200
201201 internal static ArgumentOutOfRangeException NotSupportedEnumerationValue ( Type type , string value , string method )
202202 {
203- return ArgumentOutOfRange ( System . StringsHelper . Format ( Strings . ADP_NotSupportedEnumerationValue , type . Name , value , method ) , type . Name ) ;
203+ return ArgumentOutOfRange ( StringsHelper . Format ( Strings . ADP_NotSupportedEnumerationValue , type . Name , value , method ) , type . Name ) ;
204204 }
205205
206206 internal static InvalidOperationException DataAdapter ( string error )
@@ -215,21 +215,21 @@ private static InvalidOperationException Provider(string error)
215215
216216 internal static ArgumentException InvalidMultipartName ( string property , string value )
217217 {
218- ArgumentException e = new ArgumentException ( System . StringsHelper . Format ( Strings . ADP_InvalidMultipartName , property , value ) ) ;
218+ ArgumentException e = new ArgumentException ( StringsHelper . Format ( Strings . ADP_InvalidMultipartName , property , value ) ) ;
219219 TraceExceptionAsReturnValue ( e ) ;
220220 return e ;
221221 }
222222
223223 internal static ArgumentException InvalidMultipartNameIncorrectUsageOfQuotes ( string property , string value )
224224 {
225- ArgumentException e = new ArgumentException ( System . StringsHelper . Format ( Strings . ADP_InvalidMultipartNameQuoteUsage , property , value ) ) ;
225+ ArgumentException e = new ArgumentException ( StringsHelper . Format ( Strings . ADP_InvalidMultipartNameQuoteUsage , property , value ) ) ;
226226 TraceExceptionAsReturnValue ( e ) ;
227227 return e ;
228228 }
229229
230230 internal static ArgumentException InvalidMultipartNameToManyParts ( string property , string value , int limit )
231231 {
232- ArgumentException e = new ArgumentException ( System . StringsHelper . Format ( Strings . ADP_InvalidMultipartNameToManyParts , property , value , limit ) ) ;
232+ ArgumentException e = new ArgumentException ( StringsHelper . Format ( Strings . ADP_InvalidMultipartNameToManyParts , property , value , limit ) ) ;
233233 TraceExceptionAsReturnValue ( e ) ;
234234 return e ;
235235 }
@@ -286,23 +286,23 @@ internal static bool IsCatchableOrSecurityExceptionType(Exception e)
286286 // Invalid Enumeration
287287 internal static ArgumentOutOfRangeException InvalidEnumerationValue ( Type type , int value )
288288 {
289- return ArgumentOutOfRange ( System . StringsHelper . Format ( Strings . ADP_InvalidEnumerationValue , type . Name , value . ToString ( CultureInfo . InvariantCulture ) ) , type . Name ) ;
289+ return ArgumentOutOfRange ( StringsHelper . Format ( Strings . ADP_InvalidEnumerationValue , type . Name , value . ToString ( CultureInfo . InvariantCulture ) ) , type . Name ) ;
290290 }
291291
292292 //
293293 // DbConnectionOptions, DataAccess
294294 //
295295 internal static ArgumentException ConnectionStringSyntax ( int index )
296296 {
297- return Argument ( System . StringsHelper . Format ( Strings . ADP_ConnectionStringSyntax , index ) ) ;
297+ return Argument ( StringsHelper . Format ( Strings . ADP_ConnectionStringSyntax , index ) ) ;
298298 }
299299 internal static ArgumentException KeywordNotSupported ( string keyword )
300300 {
301- return Argument ( System . StringsHelper . Format ( Strings . ADP_KeywordNotSupported , keyword ) ) ;
301+ return Argument ( StringsHelper . Format ( Strings . ADP_KeywordNotSupported , keyword ) ) ;
302302 }
303303 internal static ArgumentException ConvertFailed ( Type fromType , Type toType , Exception innerException )
304304 {
305- return ADP . Argument ( System . StringsHelper . Format ( Strings . SqlConvert_ConvertFailed , fromType . FullName , toType . FullName ) , innerException ) ;
305+ return ADP . Argument ( StringsHelper . Format ( Strings . SqlConvert_ConvertFailed , fromType . FullName , toType . FullName ) , innerException ) ;
306306 }
307307
308308 //
@@ -314,7 +314,7 @@ internal static Exception InvalidConnectionOptionValue(string key)
314314 }
315315 internal static Exception InvalidConnectionOptionValue ( string key , Exception inner )
316316 {
317- return Argument ( System . StringsHelper . Format ( Strings . ADP_InvalidConnectionOptionValue , key ) , inner ) ;
317+ return Argument ( StringsHelper . Format ( Strings . ADP_InvalidConnectionOptionValue , key ) , inner ) ;
318318 }
319319 static internal InvalidOperationException InvalidDataDirectory ( )
320320 {
@@ -327,23 +327,23 @@ static internal InvalidOperationException InvalidDataDirectory()
327327 //
328328 internal static ArgumentException CollectionRemoveInvalidObject ( Type itemType , ICollection collection )
329329 {
330- return Argument ( System . StringsHelper . Format ( Strings . ADP_CollectionRemoveInvalidObject , itemType . Name , collection . GetType ( ) . Name ) ) ;
330+ return Argument ( StringsHelper . Format ( Strings . ADP_CollectionRemoveInvalidObject , itemType . Name , collection . GetType ( ) . Name ) ) ;
331331 }
332332 internal static ArgumentNullException CollectionNullValue ( string parameter , Type collection , Type itemType )
333333 {
334- return ArgumentNull ( parameter , System . StringsHelper . Format ( Strings . ADP_CollectionNullValue , collection . Name , itemType . Name ) ) ;
334+ return ArgumentNull ( parameter , StringsHelper . Format ( Strings . ADP_CollectionNullValue , collection . Name , itemType . Name ) ) ;
335335 }
336336 internal static IndexOutOfRangeException CollectionIndexInt32 ( int index , Type collection , int count )
337337 {
338- return IndexOutOfRange ( System . StringsHelper . Format ( Strings . ADP_CollectionIndexInt32 , index . ToString ( CultureInfo . InvariantCulture ) , collection . Name , count . ToString ( CultureInfo . InvariantCulture ) ) ) ;
338+ return IndexOutOfRange ( StringsHelper . Format ( Strings . ADP_CollectionIndexInt32 , index . ToString ( CultureInfo . InvariantCulture ) , collection . Name , count . ToString ( CultureInfo . InvariantCulture ) ) ) ;
339339 }
340340 internal static IndexOutOfRangeException CollectionIndexString ( Type itemType , string propertyName , string propertyValue , Type collection )
341341 {
342- return IndexOutOfRange ( System . StringsHelper . Format ( Strings . ADP_CollectionIndexString , itemType . Name , propertyName , propertyValue , collection . Name ) ) ;
342+ return IndexOutOfRange ( StringsHelper . Format ( Strings . ADP_CollectionIndexString , itemType . Name , propertyName , propertyValue , collection . Name ) ) ;
343343 }
344344 internal static InvalidCastException CollectionInvalidType ( Type collection , Type itemType , object invalidValue )
345345 {
346- return InvalidCast ( System . StringsHelper . Format ( Strings . ADP_CollectionInvalidType , collection . Name , itemType . Name , invalidValue . GetType ( ) . Name ) ) ;
346+ return InvalidCast ( StringsHelper . Format ( Strings . ADP_CollectionInvalidType , collection . Name , itemType . Name , invalidValue . GetType ( ) . Name ) ) ;
347347 }
348348
349349 //
@@ -365,7 +365,7 @@ private static string ConnectionStateMsg(ConnectionState state)
365365 case ( ConnectionState . Open | ConnectionState . Fetching ) :
366366 return Strings . ADP_ConnectionStateMsg_OpenFetching ;
367367 default :
368- return System . StringsHelper . Format ( Strings . ADP_ConnectionStateMsg , state . ToString ( ) ) ;
368+ return StringsHelper . Format ( Strings . ADP_ConnectionStateMsg , state . ToString ( ) ) ;
369369 }
370370 }
371371
@@ -374,7 +374,7 @@ private static string ConnectionStateMsg(ConnectionState state)
374374 //
375375 internal static Exception StreamClosed ( [ CallerMemberName ] string method = "" )
376376 {
377- return InvalidOperation ( System . StringsHelper . Format ( Strings . ADP_StreamClosed , method ) ) ;
377+ return InvalidOperation ( StringsHelper . Format ( Strings . ADP_StreamClosed , method ) ) ;
378378 }
379379
380380 internal static string BuildQuotedString ( string quotePrefix , string quoteSuffix , string unQuotedString )
@@ -433,11 +433,11 @@ static internal string BuildMultiPartName(string[] strings)
433433 //
434434 internal static ArgumentException ParametersIsNotParent ( Type parameterType , ICollection collection )
435435 {
436- return Argument ( System . StringsHelper . Format ( Strings . ADP_CollectionIsNotParent , parameterType . Name , collection . GetType ( ) . Name ) ) ;
436+ return Argument ( StringsHelper . Format ( Strings . ADP_CollectionIsNotParent , parameterType . Name , collection . GetType ( ) . Name ) ) ;
437437 }
438438 internal static ArgumentException ParametersIsParent ( Type parameterType , ICollection collection )
439439 {
440- return Argument ( System . StringsHelper . Format ( Strings . ADP_CollectionIsNotParent , parameterType . Name , collection . GetType ( ) . Name ) ) ;
440+ return Argument ( StringsHelper . Format ( Strings . ADP_CollectionIsNotParent , parameterType . Name , collection . GetType ( ) . Name ) ) ;
441441 }
442442
443443
@@ -483,31 +483,31 @@ internal enum InternalErrorCode
483483
484484 internal static Exception InternalError ( InternalErrorCode internalError )
485485 {
486- return InvalidOperation ( System . StringsHelper . Format ( Strings . ADP_InternalProviderError , ( int ) internalError ) ) ;
486+ return InvalidOperation ( StringsHelper . Format ( Strings . ADP_InternalProviderError , ( int ) internalError ) ) ;
487487 }
488488
489489 //
490490 // : DbDataReader
491491 //
492492 internal static Exception DataReaderClosed ( [ CallerMemberName ] string method = "" )
493493 {
494- return InvalidOperation ( System . StringsHelper . Format ( Strings . ADP_DataReaderClosed , method ) ) ;
494+ return InvalidOperation ( StringsHelper . Format ( Strings . ADP_DataReaderClosed , method ) ) ;
495495 }
496496 internal static ArgumentOutOfRangeException InvalidSourceBufferIndex ( int maxLen , long srcOffset , string parameterName )
497497 {
498- return ArgumentOutOfRange ( System . StringsHelper . Format ( Strings . ADP_InvalidSourceBufferIndex , maxLen . ToString ( CultureInfo . InvariantCulture ) , srcOffset . ToString ( CultureInfo . InvariantCulture ) ) , parameterName ) ;
498+ return ArgumentOutOfRange ( StringsHelper . Format ( Strings . ADP_InvalidSourceBufferIndex , maxLen . ToString ( CultureInfo . InvariantCulture ) , srcOffset . ToString ( CultureInfo . InvariantCulture ) ) , parameterName ) ;
499499 }
500500 internal static ArgumentOutOfRangeException InvalidDestinationBufferIndex ( int maxLen , int dstOffset , string parameterName )
501501 {
502- return ArgumentOutOfRange ( System . StringsHelper . Format ( Strings . ADP_InvalidDestinationBufferIndex , maxLen . ToString ( CultureInfo . InvariantCulture ) , dstOffset . ToString ( CultureInfo . InvariantCulture ) ) , parameterName ) ;
502+ return ArgumentOutOfRange ( StringsHelper . Format ( Strings . ADP_InvalidDestinationBufferIndex , maxLen . ToString ( CultureInfo . InvariantCulture ) , dstOffset . ToString ( CultureInfo . InvariantCulture ) ) , parameterName ) ;
503503 }
504504 internal static IndexOutOfRangeException InvalidBufferSizeOrIndex ( int numBytes , int bufferIndex )
505505 {
506- return IndexOutOfRange ( System . StringsHelper . Format ( Strings . SQL_InvalidBufferSizeOrIndex , numBytes . ToString ( CultureInfo . InvariantCulture ) , bufferIndex . ToString ( CultureInfo . InvariantCulture ) ) ) ;
506+ return IndexOutOfRange ( StringsHelper . Format ( Strings . SQL_InvalidBufferSizeOrIndex , numBytes . ToString ( CultureInfo . InvariantCulture ) , bufferIndex . ToString ( CultureInfo . InvariantCulture ) ) ) ;
507507 }
508508 internal static Exception InvalidDataLength ( long length )
509509 {
510- return IndexOutOfRange ( System . StringsHelper . Format ( Strings . SQL_InvalidDataLength , length . ToString ( CultureInfo . InvariantCulture ) ) ) ;
510+ return IndexOutOfRange ( StringsHelper . Format ( Strings . SQL_InvalidDataLength , length . ToString ( CultureInfo . InvariantCulture ) ) ) ;
511511 }
512512
513513 internal static bool CompareInsensitiveInvariant ( string strvalue , string strconst ) =>
0 commit comments