Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Spelling
  • Loading branch information
AustinWise committed Dec 30, 2022
commit 2eaed505c77878d7015a928fe0973953489b9649
6 changes: 3 additions & 3 deletions src/tests/Interop/ObjectiveC/ObjectiveCMarshalAPI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ public HasHashCode()
}
}

class HasThinkLockHelp : Base
class HasThinLockHeld : Base
{
public HasThinkLockHelp()
public HasThinLockHeld()
{
// This will write lock information into the object header.
// An attempt to generate a hash code for this object will cause the lock to be
Expand Down Expand Up @@ -236,7 +236,7 @@ static unsafe void Validate_ReferenceTracking_Scenario()
// so we exercise the various ways a hash code can be stored.
AllocUntrackedObject<HasNoHashCode>();
AllocUntrackedObject<HasHashCode>();
AllocUntrackedObject<HasThinkLockHelp>();
AllocUntrackedObject<HasThinLockHeld>();
AllocUntrackedObject<HasSyncBlock>();

// Provide the minimum number of times the reference callback should run.
Expand Down