// In case of async lambdas, which synthesize a state machine type during the following rewrite, the containing method has already been uniquely named,
// so there is no need to produce a unique method ordinal for the corresponding state machine type, whose name includes the (unique) containing method name.
@@ -35,7 +35,7 @@ internal class LocalFunctionMethodSymbol : SourceMethodSymbol
this.MakeFlags(
MethodKind.LocalFunction,
DeclarationModifiers.Static,// TODO: Will change when we allow local captures (also change in LocalFunctionRewriter)
DeclarationModifiers.Static|syntax.Modifiers.ToDeclarationModifiers(),// TODO: Will change when we allow local captures (also change in LocalFunctionRewriter)
returnsVoid:false,// will be fixed in MethodChecks
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.