SyntaxGenerator.ConvertExpression 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
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
- type
- ITypeSymbol
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.