Partager via


SyntaxFactory.SimpleLambdaExpression Method

Definition

Overloads

SimpleLambdaExpression(SyntaxToken, ParameterSyntax, SyntaxToken, BlockSyntax, ExpressionSyntax)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(SyntaxList<AttributeListSyntax>, SyntaxTokenList, ParameterSyntax, BlockSyntax, ExpressionSyntax)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(SyntaxList<AttributeListSyntax>, SyntaxTokenList, ParameterSyntax, SyntaxToken, BlockSyntax, ExpressionSyntax)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(SyntaxTokenList, ParameterSyntax, BlockSyntax, ExpressionSyntax)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(SyntaxTokenList, ParameterSyntax, SyntaxToken, BlockSyntax, ExpressionSyntax)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(ParameterSyntax, BlockSyntax, ExpressionSyntax)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(ParameterSyntax)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(SyntaxToken, ParameterSyntax, SyntaxToken, CSharpSyntaxNode)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(ParameterSyntax, CSharpSyntaxNode)

Creates a new SimpleLambdaExpressionSyntax instance.

SimpleLambdaExpression(SyntaxToken, ParameterSyntax, SyntaxToken, BlockSyntax, ExpressionSyntax)

Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.SyntaxToken arrowToken, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expressionBody);
public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.SyntaxToken arrowToken, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (asyncKeyword As SyntaxToken, parameter As ParameterSyntax, arrowToken As SyntaxToken, block As BlockSyntax, expressionBody As ExpressionSyntax) As SimpleLambdaExpressionSyntax

Parameters

asyncKeyword
SyntaxToken
parameter
ParameterSyntax
arrowToken
SyntaxToken
block
BlockSyntax
expressionBody
ExpressionSyntax

Returns

Applies to

SimpleLambdaExpression(SyntaxList<AttributeListSyntax>, SyntaxTokenList, ParameterSyntax, BlockSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, parameter As ParameterSyntax, block As BlockSyntax, expressionBody As ExpressionSyntax) As SimpleLambdaExpressionSyntax

Parameters

modifiers
SyntaxTokenList
parameter
ParameterSyntax
block
BlockSyntax
expressionBody
ExpressionSyntax

Returns

Applies to

SimpleLambdaExpression(SyntaxList<AttributeListSyntax>, SyntaxTokenList, ParameterSyntax, SyntaxToken, BlockSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.SyntaxToken arrowToken, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, parameter As ParameterSyntax, arrowToken As SyntaxToken, block As BlockSyntax, expressionBody As ExpressionSyntax) As SimpleLambdaExpressionSyntax

Parameters

modifiers
SyntaxTokenList
parameter
ParameterSyntax
arrowToken
SyntaxToken
block
BlockSyntax
expressionBody
ExpressionSyntax

Returns

Applies to

SimpleLambdaExpression(SyntaxTokenList, ParameterSyntax, BlockSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (modifiers As SyntaxTokenList, parameter As ParameterSyntax, block As BlockSyntax, expressionBody As ExpressionSyntax) As SimpleLambdaExpressionSyntax

Parameters

modifiers
SyntaxTokenList
parameter
ParameterSyntax
block
BlockSyntax
expressionBody
ExpressionSyntax

Returns

Applies to

SimpleLambdaExpression(SyntaxTokenList, ParameterSyntax, SyntaxToken, BlockSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.SyntaxToken arrowToken, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (modifiers As SyntaxTokenList, parameter As ParameterSyntax, arrowToken As SyntaxToken, block As BlockSyntax, expressionBody As ExpressionSyntax) As SimpleLambdaExpressionSyntax

Parameters

modifiers
SyntaxTokenList
parameter
ParameterSyntax
arrowToken
SyntaxToken
block
BlockSyntax
expressionBody
ExpressionSyntax

Returns

Applies to

SimpleLambdaExpression(ParameterSyntax, BlockSyntax, ExpressionSyntax)

Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs
Source:
SimpleLambdaExpressionSyntax.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expressionBody);
public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (parameter As ParameterSyntax, block As BlockSyntax, expressionBody As ExpressionSyntax) As SimpleLambdaExpressionSyntax

Parameters

parameter
ParameterSyntax
block
BlockSyntax
expressionBody
ExpressionSyntax

Returns

Applies to

SimpleLambdaExpression(ParameterSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (parameter As ParameterSyntax) As SimpleLambdaExpressionSyntax

Parameters

parameter
ParameterSyntax

Returns

Applies to

SimpleLambdaExpression(SyntaxToken, ParameterSyntax, SyntaxToken, CSharpSyntaxNode)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::SimpleLambdaExpressionSyntax ^ SimpleLambdaExpression(Microsoft::CodeAnalysis::SyntaxToken asyncKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterSyntax ^ parameter, Microsoft::CodeAnalysis::SyntaxToken arrowToken, Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.SyntaxToken arrowToken, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (asyncKeyword As SyntaxToken, parameter As ParameterSyntax, arrowToken As SyntaxToken, body As CSharpSyntaxNode) As SimpleLambdaExpressionSyntax

Parameters

asyncKeyword
SyntaxToken
parameter
ParameterSyntax
arrowToken
SyntaxToken

Returns

Applies to

SimpleLambdaExpression(ParameterSyntax, CSharpSyntaxNode)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Creates a new SimpleLambdaExpressionSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::SimpleLambdaExpressionSyntax ^ SimpleLambdaExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ParameterSyntax ^ parameter, Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax SimpleLambdaExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
static member SimpleLambdaExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax * Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Shared Function SimpleLambdaExpression (parameter As ParameterSyntax, body As CSharpSyntaxNode) As SimpleLambdaExpressionSyntax

Parameters

parameter
ParameterSyntax

Returns

Applies to