You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient/ConnectionPool/ChannelDbConnectionPoolTest.cs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
12
12
namespaceMicrosoft.Data.SqlClient.UnitTests
13
13
{
14
+
#pragma warning disable CS1591// Test classes do not require XML documentation comments
14
15
publicclassChannelDbConnectionPoolTest
15
16
{
16
17
privatereadonlyChannelDbConnectionPool_pool;
@@ -152,4 +153,5 @@ public void TestTryGetConnection()
Copy file name to clipboardExpand all lines: src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient/UdtSerialization/InvalidSerializationTest.cs
/// Attempts to serialize types which do not meet the requirements for either user-defined or native serialization.
16
+
/// </summary>
14
17
publicclassInvalidSerializationTest
15
18
{
19
+
/// <summary>
20
+
/// Attempts to serialize a class that does not have the SqlUserDefinedType attribute. Verifies that this fails.
21
+
/// </summary>
16
22
[Fact]
17
23
publicvoidRequiresSqlUserDefinedTypeAttribute()
18
24
{
@@ -24,6 +30,10 @@ public void RequiresSqlUserDefinedTypeAttribute()
24
30
Assert.Equal($"'{typeof(ClassMissingSqlUserDefinedTypeAttribute).FullName}' is an invalid user defined type, reason: no UDT attribute.",exception.Message);
25
31
}
26
32
33
+
/// <summary>
34
+
/// Attempts to serialize a class that has a SqlUserDefinedType attribute, but specifies a Format enumeration value of
Copy file name to clipboardExpand all lines: src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient/UdtSerialization/NativeSerializationTest.cs
0 commit comments