Esempio n. 1
0
        public static bool IsReferencedAsMethodGroup(
            LocalFunctionStatementSyntax localFunction,
            IMethodSymbol methodSymbol,
            SemanticModel semanticModel,
            CancellationToken cancellationToken = default)
        {
            MemberDeclarationSyntax memberDeclaration = localFunction.FirstAncestor <MemberDeclarationSyntax>();

            return(IsReferencedAsMethodGroup(memberDeclaration, methodSymbol, semanticModel, cancellationToken));
        }