261 references to LambdaExpressionSyntax
ILLink.CodeFixProvider (1)
Microsoft.AspNetCore.App.CodeFixes (1)
Microsoft.CodeAnalysis.CSharp (17)
Microsoft.CodeAnalysis.CSharp.CodeStyle (14)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (26)
src\Analyzers\CSharp\CodeFixes\UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeActionHelpers.cs (13)
22internal static LambdaExpressionSyntax Update(SemanticModel semanticModel, LambdaExpressionSyntax originalDeclaration, LambdaExpressionSyntax currentDeclaration, CancellationToken cancellationToken)
25private static LambdaExpressionSyntax UpdateWorker(
26SemanticModel semanticModel, LambdaExpressionSyntax originalDeclaration, LambdaExpressionSyntax currentDeclaration, CancellationToken cancellationToken)
34private static LambdaExpressionSyntax WithExpressionBody(LambdaExpressionSyntax declaration, LanguageVersion languageVersion, CancellationToken cancellationToken)
42var updatedDecl = declaration.WithBody(expressionBody);
55private static LambdaExpressionSyntax WithBlockBody(
56SemanticModel semanticModel, LambdaExpressionSyntax originalDeclaration, LambdaExpressionSyntax currentDeclaration, ExpressionSyntax expressionBody)
79SemanticModel semanticModel, LambdaExpressionSyntax declaration)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Microsoft.CodeAnalysis.CSharp.Features (45)
src\Analyzers\CSharp\CodeFixes\UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeActionHelpers.cs (13)
22internal static LambdaExpressionSyntax Update(SemanticModel semanticModel, LambdaExpressionSyntax originalDeclaration, LambdaExpressionSyntax currentDeclaration, CancellationToken cancellationToken)
25private static LambdaExpressionSyntax UpdateWorker(
26SemanticModel semanticModel, LambdaExpressionSyntax originalDeclaration, LambdaExpressionSyntax currentDeclaration, CancellationToken cancellationToken)
34private static LambdaExpressionSyntax WithExpressionBody(LambdaExpressionSyntax declaration, LanguageVersion languageVersion, CancellationToken cancellationToken)
42var updatedDecl = declaration.WithBody(expressionBody);
55private static LambdaExpressionSyntax WithBlockBody(
56SemanticModel semanticModel, LambdaExpressionSyntax originalDeclaration, LambdaExpressionSyntax currentDeclaration, ExpressionSyntax expressionBody)
79SemanticModel semanticModel, LambdaExpressionSyntax declaration)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (66)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (46)
Microsoft.CodeAnalysis.CSharp.Workspaces (15)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.Extensions.Logging.Generators (1)
System.Private.CoreLib.Generators (1)