Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


ienumerator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ienumerator [2021/03/18 15:12]
73.95.178.156
ienumerator [2021/04/29 19:10] (current)
uninomiconadmin
Line 86: Line 86:
 The lambda function is stored as a local variable ''<>8__1'' in the generated IEnumerator class. However, the instance is created at the start of the function, not just before usage, as one might expect.  The lambda function is stored as a local variable ''<>8__1'' in the generated IEnumerator class. However, the instance is created at the start of the function, not just before usage, as one might expect. 
  
-===== All lambdas are piled into a single DisplayClass anonymous type, and share the same instance. =====+**All lambdas are piled into a single DisplayClass anonymous type, and share the same instance.**
  
  
ienumerator.txt ยท Last modified: 2021/04/29 19:10 by uninomiconadmin