SyntaxGenerator.DefaultExpression 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
DefaultExpression(ITypeSymbol) | |
DefaultExpression(SyntaxNode) |
An expression that represents the default value of a type. This is typically a null value for reference types or a zero-filled value for value types. |
DefaultExpression(ITypeSymbol)
- 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
- Source:
- SyntaxGenerator.cs
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ DefaultExpression(Microsoft::CodeAnalysis::ITypeSymbol ^ type);
public abstract Microsoft.CodeAnalysis.SyntaxNode DefaultExpression (Microsoft.CodeAnalysis.ITypeSymbol type);
abstract member DefaultExpression : Microsoft.CodeAnalysis.ITypeSymbol -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function DefaultExpression (type As ITypeSymbol) As SyntaxNode
Parameters
- type
- ITypeSymbol
Returns
Applies to
DefaultExpression(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
- Source:
- SyntaxGenerator.cs
An expression that represents the default value of a type. This is typically a null value for reference types or a zero-filled value for value types.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ DefaultExpression(Microsoft::CodeAnalysis::SyntaxNode ^ type);
public abstract Microsoft.CodeAnalysis.SyntaxNode DefaultExpression (Microsoft.CodeAnalysis.SyntaxNode type);
abstract member DefaultExpression : Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function DefaultExpression (type As SyntaxNode) As SyntaxNode
Parameters
- type
- SyntaxNode
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.