Skip to content

Commit d643b06

Browse files
committed
Format line breaks
1 parent d4cf317 commit d643b06

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParserStateObjectManaged.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,9 @@ internal override SniErrorDetails GetErrorDetails()
396396
{
397397
SniError sniError = SniProxy.Instance.GetLastError();
398398

399-
return new SniErrorDetails(sniError.errorMessage, sniError.nativeError, sniError.sniError, (int)sniError.provider, sniError.lineNumber, sniError.function, sniError.exception);
399+
return new SniErrorDetails(sniError.errorMessage, sniError.nativeError, sniError.sniError,
400+
(int)sniError.provider, sniError.lineNumber, sniError.function,
401+
sniError.exception);
400402
}
401403

402404
private SniHandle GetSessionSNIHandleHandleOrThrow()

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParserStateObjectNative.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,8 @@ internal override SniErrorDetails GetErrorDetails()
445445
{
446446
SniNativeWrapper.SniGetLastError(out SniError sniError);
447447

448-
return new SniErrorDetails(sniError.errorMessage, sniError.nativeError, sniError.sniError, (int)sniError.provider, sniError.lineNumber, sniError.function);
448+
return new SniErrorDetails(sniError.errorMessage, sniError.nativeError, sniError.sniError,
449+
(int)sniError.provider, sniError.lineNumber, sniError.function);
449450
}
450451

451452
internal override void DisposePacketCache()

0 commit comments

Comments
 (0)