Skip to content

Commit 416afcd

Browse files
authoredNov 28, 2023
Merge common code bases for TdsParserStateObject.cs (3) (#2168)
1 parent e6109f8 commit 416afcd

File tree

5 files changed

+767
-1509
lines changed

5 files changed

+767
-1509
lines changed
 

‎src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParser.cs

+11
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ internal struct SNIErrorDetails
4040
// and surfacing objects to the user.
4141
internal sealed partial class TdsParser
4242
{
43+
internal struct ReliabilitySection
44+
{
45+
/// <summary>
46+
/// This is a no-op in netcore version. Only needed for merging with netfx codebase.
47+
/// </summary>
48+
[Conditional("NETFRAMEWORK")]
49+
internal static void Assert(string message)
50+
{
51+
}
52+
}
53+
4354
private static int _objectTypeCount; // EventSource counter
4455
private readonly SqlClientLogger _logger = new SqlClientLogger();
4556

0 commit comments

Comments
 (0)