Skip to content

Commit 1bc4b61

Browse files
authored
Fix typo (dotnet#60797)
1 parent fbb109c commit 1bc4b61

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/coreclr/tools/Common/TypeSystem/Common/MetadataVirtualMethodAlgorithm.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,9 @@ private static void FindBaseUnificationGroup(MetadataType currentType, Unificati
452452

453453
// Now, we have the unification group from the type, or have discovered its defined on the current type.
454454
// Adjust the group to contain all of the elements that are added to it on this type, remove the components that
455-
// have seperated themselves from the group
455+
// have separated themselves from the group
456456

457-
// Start with removing methods that seperated themselves from the group via name/sig matches
457+
// Start with removing methods that separated themselves from the group via name/sig matches
458458
MethodDescHashtable separatedMethods = null;
459459

460460
foreach (MethodDesc memberMethod in unificationGroup.Members)
@@ -475,13 +475,13 @@ private static void FindBaseUnificationGroup(MetadataType currentType, Unificati
475475

476476
if (separatedMethods != null)
477477
{
478-
foreach (MethodDesc seperatedMethod in MethodDescHashtable.Enumerator.Get(separatedMethods))
478+
foreach (MethodDesc separatedMethod in MethodDescHashtable.Enumerator.Get(separatedMethods))
479479
{
480-
unificationGroup.RemoveFromGroup(seperatedMethod);
480+
unificationGroup.RemoveFromGroup(separatedMethod);
481481
}
482482
}
483483

484-
// Next find members which have seperated or added themselves to the group via MethodImpls
484+
// Next find members which have separated or added themselves to the group via MethodImpls
485485
foreach (MethodImplRecord methodImplRecord in currentType.VirtualMethodImplsForType)
486486
{
487487
MethodDesc declSlot = FindSlotDefiningMethodForVirtualMethod(methodImplRecord.Decl);

0 commit comments

Comments
 (0)