Skip to content

Commit 72d9c8d

Browse files
committed
Add region to both TdsParserStateObjectNative files
1 parent 95322d3 commit 72d9c8d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ public TdsParserStateObjectNative(TdsParser parser)
5757
{
5858
}
5959

60-
////////////////
61-
// Properties //
62-
////////////////
60+
#region Properties
6361

6462
internal SNIHandle Handle => _sessionHandle;
6563

@@ -71,6 +69,8 @@ public TdsParserStateObjectNative(TdsParser parser)
7169

7270
internal override Guid? SessionId => default;
7371

72+
#endregion
73+
7474
protected override void CreateSessionHandle(TdsParserStateObject physicalConnection, bool async)
7575
{
7676
Debug.Assert(physicalConnection is TdsParserStateObjectNative, "Expected a stateObject of type " + this.GetType());

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ public TdsParserStateObjectNative(TdsParser parser)
3434
{
3535
}
3636

37-
////////////////
38-
// Properties //
39-
////////////////
37+
#region Properties
4038

4139
internal override uint Status => _sessionHandle != null ? _sessionHandle.Status : TdsEnums.SNI_UNINITIALIZED;
4240

@@ -46,6 +44,8 @@ public TdsParserStateObjectNative(TdsParser parser)
4644

4745
internal override Guid? SessionId => default;
4846

47+
#endregion
48+
4949
protected override void CreateSessionHandle(TdsParserStateObject physicalConnection, bool async)
5050
{
5151
Debug.Assert(physicalConnection is TdsParserStateObjectNative, "Expected a stateObject of type " + this.GetType());

0 commit comments

Comments
 (0)