BepInEx / HarmonyX

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

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

Closed Owen3H closed 10 months ago

Owen3H commented 10 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 10 months ago

Fixed, thanks.