共用方式為


SyntaxGenerator.ConvertExpression Method

Definition

Overloads

ConvertExpression(ITypeSymbol, SyntaxNode)

Creates an expression that denotes a type conversion operation.

ConvertExpression(SyntaxNode, SyntaxNode)

Creates an expression that denotes a type conversion operation.

ConvertExpression(ITypeSymbol, SyntaxNode)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Creates an expression that denotes a type conversion operation.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ ConvertExpression(Microsoft::CodeAnalysis::ITypeSymbol ^ type, Microsoft::CodeAnalysis::SyntaxNode ^ expression);
public Microsoft.CodeAnalysis.SyntaxNode ConvertExpression (Microsoft.CodeAnalysis.ITypeSymbol type, Microsoft.CodeAnalysis.SyntaxNode expression);
member this.ConvertExpression : Microsoft.CodeAnalysis.ITypeSymbol * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public Function ConvertExpression (type As ITypeSymbol, expression As SyntaxNode) As SyntaxNode

Parameters

expression
SyntaxNode

Returns

Applies to

ConvertExpression(SyntaxNode, SyntaxNode)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Creates an expression that denotes a type conversion operation.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ ConvertExpression(Microsoft::CodeAnalysis::SyntaxNode ^ type, Microsoft::CodeAnalysis::SyntaxNode ^ expression);
public abstract Microsoft.CodeAnalysis.SyntaxNode ConvertExpression (Microsoft.CodeAnalysis.SyntaxNode type, Microsoft.CodeAnalysis.SyntaxNode expression);
abstract member ConvertExpression : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function ConvertExpression (type As SyntaxNode, expression As SyntaxNode) As SyntaxNode

Parameters

type
SyntaxNode
expression
SyntaxNode

Returns

Applies to