BepInEx / HarmonyX

Harmony built on top of MonoMod.RuntimeDetours with additional features
MIT License
329 stars 42 forks source link

[Wiki] Error using the provided postfix in section 1.4 #102

Closed Owen3H closed 5 months ago

Owen3H commented 5 months ago

image The foreach loop here throws CS1579.

image

Instead, replace it with something like the following:

while (result.MoveNext())
    yield return result.Current;
ManlyMarco commented 5 months ago

Fixed, thanks.