Skip to content

Commit cf03fb0

Browse files
committed
Check if there's an Easier way to use InheritDoc
Verify Different way of using InheritDoc will allow usage as attribute header.
1 parent a1e5a1f commit cf03fb0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public partial class SqlBatchCommand : System.Data.Common.DbBatchCommand
7070
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/DbParameterCollection/*'/>
7171
protected override System.Data.Common.DbParameterCollection DbParameterCollection => throw null;
7272
}
73+
/// <inheritdoc cref="System.Data.Common.DbBatchCommandCollection"/>
7374
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommandCollection.xml' path='docs/members[@name="SqlBatchCommandCollection"]/SqlBatchCommandCollection/*'/>
7475
public class SqlBatchCommandCollection : System.Data.Common.DbBatchCommandCollection, System.Collections.Generic.IList<SqlBatchCommand>
7576
{

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlBatchCommandCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace Microsoft.Data.SqlClient
1111
{
12+
/// <inheritdoc cref="DbBatchCommandCollection"/>
1213
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommandCollection.xml' path='docs/members[@name="SqlBatchCommandCollection"]/SqlBatchCommandCollection/*'/>
1314
public class SqlBatchCommandCollection : DbBatchCommandCollection, IList<SqlBatchCommand>
1415
{
@@ -76,7 +77,6 @@ SqlBatchCommand IList<SqlBatchCommand>.this[int index]
7677
/// <inheritdoc />
7778
protected override void SetBatchCommand(int index, DbBatchCommand batchCommand)
7879
=> _list[index] = (SqlBatchCommand)batchCommand;
79-
8080
}
8181
}
8282

0 commit comments

Comments
 (0)