internal LambdaFrame(MethodSymbol topLevelMethod, TypeCompilationState compilationState) : base(GeneratedNames.MakeAnonymousDisplayClassName(compilationState.GenerateTempNumber()), topLevelMethod) { this.topLevelMethod = topLevelMethod; this.constructor = new LambdaFrameConstructor(this); }
internal LambdaFrame(MethodSymbol topLevelMethod, TypeCompilationState compilationState) : base(topLevelMethod, GeneratedNames.MakeAnonymousDisplayClassName(compilationState.GenerateTempNumber()), TypeKind.Class) { this.constructor = new SynthesizedInstanceConstructor(this); }