private void BuildCode(MethodSymbol methodSymbol) { if (methodSymbol.IsAbstract) { return; } ImplementationBuilder implBuilder = new ImplementationBuilder(_options, _errorHandler); methodSymbol.AddImplementation(implBuilder.BuildMethod(methodSymbol)); _implementations.Add(methodSymbol.Implementation); if (methodSymbol.AnonymousMethods != null) { foreach (AnonymousMethodSymbol anonymousMethod in methodSymbol.AnonymousMethods) { Debug.Assert(anonymousMethod.Implementation != null); _implementations.Add(anonymousMethod.Implementation); } } }