Skip to content

Commit 2c6a671

Browse files
Apply suggestions from code review
Co-authored-by: DavoudEshtehari <61173489+DavoudEshtehari@users.noreply.github.com>
1 parent 34805b4 commit 2c6a671

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/ProviderBase/DbReferenceCollection.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
65
using System;
76
using System.Diagnostics;
87
using System.Threading;
@@ -42,7 +41,7 @@ private struct CollectionEntry
4241
private int _refInfo; // information about the reference
4342
private WeakReference<object> _weakReference; // the reference itself.
4443

45-
public void SetTNewTarget(int refInfo, object target)
44+
public void SetNewTarget(int refInfo, object target)
4645
{
4746
Debug.Assert(!TryGetTarget(out object _), "Entry already has a valid target");
4847
Debug.Assert(refInfo != 0, "Bad reference info");

0 commit comments

Comments
 (0)