chore: Use var everywhere (#2294)
This commit is contained in:
parent
0b34cc4417
commit
ebaf104935
267 changed files with 873 additions and 873 deletions
|
|
@ -53,7 +53,7 @@ internal sealed class Gen2GcCallback : CriticalFinalizerObject
|
|||
if (_weakTargetObj.IsAllocated)
|
||||
{
|
||||
// Check to see if the target object is still alive.
|
||||
object? targetObj = _weakTargetObj.Target;
|
||||
var targetObj = _weakTargetObj.Target;
|
||||
if (targetObj == null)
|
||||
{
|
||||
// The target object is dead, so this callback object is no longer needed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue