SyntaxFactory.AnonymousMethodExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AnonymousMethodExpression() |
Creates a new AnonymousMethodExpressionSyntax instance. |
AnonymousMethodExpression(CSharpSyntaxNode) |
Creates a new AnonymousMethodExpressionSyntax instance. |
AnonymousMethodExpression(ParameterListSyntax, CSharpSyntaxNode) |
Creates a new AnonymousMethodExpressionSyntax instance. |
AnonymousMethodExpression(SyntaxToken, SyntaxToken, ParameterListSyntax, CSharpSyntaxNode) |
Creates a new AnonymousMethodExpressionSyntax instance. |
AnonymousMethodExpression(SyntaxToken, SyntaxToken, ParameterListSyntax, BlockSyntax, ExpressionSyntax) |
Creates a new AnonymousMethodExpressionSyntax instance. |
AnonymousMethodExpression(SyntaxTokenList, SyntaxToken, ParameterListSyntax, BlockSyntax, ExpressionSyntax) |
Creates a new AnonymousMethodExpressionSyntax instance. |
AnonymousMethodExpression()
Creates a new AnonymousMethodExpressionSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AnonymousMethodExpression();
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression ();
static member AnonymousMethodExpression : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression () As AnonymousMethodExpressionSyntax
Returns
Applies to
AnonymousMethodExpression(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
- Source:
- SyntaxFactory.cs
Creates a new AnonymousMethodExpressionSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AnonymousMethodExpression(Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
static member AnonymousMethodExpression : Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression (body As CSharpSyntaxNode) As AnonymousMethodExpressionSyntax
Parameters
- body
- CSharpSyntaxNode
Returns
Applies to
AnonymousMethodExpression(ParameterListSyntax, 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
- Source:
- SyntaxFactory.cs
Creates a new AnonymousMethodExpressionSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AnonymousMethodExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax? parameterList, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
static member AnonymousMethodExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression (parameterList As ParameterListSyntax, body As CSharpSyntaxNode) As AnonymousMethodExpressionSyntax
Parameters
- parameterList
- ParameterListSyntax
- body
- CSharpSyntaxNode
Returns
Applies to
AnonymousMethodExpression(SyntaxToken, SyntaxToken, ParameterListSyntax, 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
- Source:
- SyntaxFactory.cs
Creates a new AnonymousMethodExpressionSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousMethodExpressionSyntax ^ AnonymousMethodExpression(Microsoft::CodeAnalysis::SyntaxToken asyncKeyword, Microsoft::CodeAnalysis::SyntaxToken delegateKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode body);
static member AnonymousMethodExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression (asyncKeyword As SyntaxToken, delegateKeyword As SyntaxToken, parameterList As ParameterListSyntax, body As CSharpSyntaxNode) As AnonymousMethodExpressionSyntax
Parameters
- asyncKeyword
- SyntaxToken
- delegateKeyword
- SyntaxToken
- parameterList
- ParameterListSyntax
- body
- CSharpSyntaxNode
Returns
Applies to
AnonymousMethodExpression(SyntaxToken, SyntaxToken, ParameterListSyntax, 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
Creates a new AnonymousMethodExpressionSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expressionBody);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax? parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
static member AnonymousMethodExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression (asyncKeyword As SyntaxToken, delegateKeyword As SyntaxToken, parameterList As ParameterListSyntax, block As BlockSyntax, expressionBody As ExpressionSyntax) As AnonymousMethodExpressionSyntax
Parameters
- asyncKeyword
- SyntaxToken
- delegateKeyword
- SyntaxToken
- parameterList
- ParameterListSyntax
- block
- BlockSyntax
- expressionBody
- ExpressionSyntax
Returns
Applies to
AnonymousMethodExpression(SyntaxTokenList, SyntaxToken, ParameterListSyntax, 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
- 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 AnonymousMethodExpressionSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax AnonymousMethodExpression (Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken delegateKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax? parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
static member AnonymousMethodExpression : Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax
Public Shared Function AnonymousMethodExpression (modifiers As SyntaxTokenList, delegateKeyword As SyntaxToken, parameterList As ParameterListSyntax, block As BlockSyntax, expressionBody As ExpressionSyntax) As AnonymousMethodExpressionSyntax
Parameters
- modifiers
- SyntaxTokenList
- delegateKeyword
- SyntaxToken
- parameterList
- ParameterListSyntax
- block
- BlockSyntax
- expressionBody
- ExpressionSyntax