- - after that, we scan all methods, constructors, operators and
- property/indexer accessors for anonymous methods and iterators.
-
- For each method which either contains anonymous methods or is
- implemented as iterator, we create a new helper class (the "root
- scope" of the anonymous method) and add it to the current type as
- a nested class.
-
- This is done by the new TypeContainer.ResolveMembers() method.
-
- - when done, we call DefineNestedTypes() to descend into our nested
- children.
-
-* RootContext.PopulateTypes() calls TypeContainer.ResolveType() and
- TypeContainer.DefineMembers() as usual and populates everything.
-
-* In TypeContainer.EmitType(), we call DefineMembers() and EmitType()
- on all our CompilerGeneratedClass'es once we're done emitting the
- current type.
+ At this point we enter anonymous methods land. We call Resolve on
+ method block which when hits anonymous method expression we start
+ anonymous method definition.