File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/Microsoft.Data.SqlClient
netcore/src/Microsoft/Data/SqlClient
netfx/src/Microsoft/Data/SqlClient Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,7 @@ public TdsParserStateObjectNative(TdsParser parser)
57
57
{
58
58
}
59
59
60
- ////////////////
61
- // Properties //
62
- ////////////////
60
+ #region Properties
63
61
64
62
internal SNIHandle Handle => _sessionHandle ;
65
63
@@ -71,6 +69,8 @@ public TdsParserStateObjectNative(TdsParser parser)
71
69
72
70
internal override Guid ? SessionId => default ;
73
71
72
+ #endregion
73
+
74
74
protected override void CreateSessionHandle ( TdsParserStateObject physicalConnection , bool async )
75
75
{
76
76
Debug . Assert ( physicalConnection is TdsParserStateObjectNative , "Expected a stateObject of type " + this . GetType ( ) ) ;
Original file line number Diff line number Diff line change @@ -34,9 +34,7 @@ public TdsParserStateObjectNative(TdsParser parser)
34
34
{
35
35
}
36
36
37
- ////////////////
38
- // Properties //
39
- ////////////////
37
+ #region Properties
40
38
41
39
internal override uint Status => _sessionHandle != null ? _sessionHandle . Status : TdsEnums . SNI_UNINITIALIZED ;
42
40
@@ -46,6 +44,8 @@ public TdsParserStateObjectNative(TdsParser parser)
46
44
47
45
internal override Guid ? SessionId => default ;
48
46
47
+ #endregion
48
+
49
49
protected override void CreateSessionHandle ( TdsParserStateObject physicalConnection , bool async )
50
50
{
51
51
Debug . Assert ( physicalConnection is TdsParserStateObjectNative , "Expected a stateObject of type " + this . GetType ( ) ) ;
You can’t perform that action at this time.
0 commit comments