Skip to content

Exception on unpatching - only first method gets unpatched #31

@dymanoid

Description

@dymanoid

Exception on unpatching:

[Rush Hour II] out of sync
mscorlib
  at System.Collections.Generic.Dictionary`2+Enumerator[System.Reflection.MethodBase,System.Byte[]].VerifyState ()
  at System.Collections.Generic.Dictionary`2+Enumerator[System.Reflection.MethodBase,System.Byte[]].MoveNext ()
  at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[System.Reflection.MethodBase,System.Byte[]].MoveNext ()
  at RushHour2.Patches.PatchManager.UnPatchAll ()

The InvalidOperationException with an out of sync message usually means that you're trying to modify an IEnumerable while iterating over it using its enumerator (e.g. in foreach).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions