共用方式為


SyntaxExtensions.Update Method

Definition

Overloads

Update(IndexerDeclarationSyntax, SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, BracketedParameterListSyntax, AccessorListSyntax)
Update(OperatorDeclarationSyntax, SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, SyntaxToken, SyntaxToken, ParameterListSyntax, BlockSyntax, SyntaxToken)
Update(MethodDeclarationSyntax, SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, SyntaxList<TypeParameterConstraintClauseSyntax>, BlockSyntax, SyntaxToken)

Update(IndexerDeclarationSyntax, SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, BracketedParameterListSyntax, AccessorListSyntax)

Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::CSharp::Syntax::IndexerDeclarationSyntax ^ Update(Microsoft::CodeAnalysis::CSharp::Syntax::IndexerDeclarationSyntax ^ syntax, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::CSharp::Syntax::ExplicitInterfaceSpecifierSyntax ^ explicitInterfaceSpecifier, Microsoft::CodeAnalysis::SyntaxToken thisKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::BracketedParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::Syntax::AccessorListSyntax ^ accessorList);
public static Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax Update (this Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax syntax, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, Microsoft.CodeAnalysis.SyntaxToken thisKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.BracketedParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax accessorList);
static member Update : Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BracketedParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax
<Extension()>
Public Function Update (syntax As IndexerDeclarationSyntax, attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, type As TypeSyntax, explicitInterfaceSpecifier As ExplicitInterfaceSpecifierSyntax, thisKeyword As SyntaxToken, parameterList As BracketedParameterListSyntax, accessorList As AccessorListSyntax) As IndexerDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
type
TypeSyntax
explicitInterfaceSpecifier
ExplicitInterfaceSpecifierSyntax
thisKeyword
SyntaxToken
accessorList
AccessorListSyntax

Returns

Applies to

Update(OperatorDeclarationSyntax, SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, SyntaxToken, SyntaxToken, ParameterListSyntax, BlockSyntax, SyntaxToken)

Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::CSharp::Syntax::OperatorDeclarationSyntax ^ Update(Microsoft::CodeAnalysis::CSharp::Syntax::OperatorDeclarationSyntax ^ syntax, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ returnType, Microsoft::CodeAnalysis::SyntaxToken operatorKeyword, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ block, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.OperatorDeclarationSyntax Update (this Microsoft.CodeAnalysis.CSharp.Syntax.OperatorDeclarationSyntax syntax, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.SyntaxToken operatorKeyword, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member Update : Microsoft.CodeAnalysis.CSharp.Syntax.OperatorDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.OperatorDeclarationSyntax
<Extension()>
Public Function Update (syntax As OperatorDeclarationSyntax, attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, returnType As TypeSyntax, operatorKeyword As SyntaxToken, operatorToken As SyntaxToken, parameterList As ParameterListSyntax, block As BlockSyntax, semicolonToken As SyntaxToken) As OperatorDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
returnType
TypeSyntax
operatorKeyword
SyntaxToken
operatorToken
SyntaxToken
parameterList
ParameterListSyntax
block
BlockSyntax
semicolonToken
SyntaxToken

Returns

Applies to

Update(MethodDeclarationSyntax, SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, SyntaxList<TypeParameterConstraintClauseSyntax>, BlockSyntax, SyntaxToken)

Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ Update(Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ syntax, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ returnType, Microsoft::CodeAnalysis::CSharp::Syntax::ExplicitInterfaceSpecifierSyntax ^ explicitInterfaceSpecifier, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterListSyntax ^ typeParameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^> constraintClauses, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ block, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax Update (this Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax syntax, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax typeParameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member Update : Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
<Extension()>
Public Function Update (syntax As MethodDeclarationSyntax, attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, returnType As TypeSyntax, explicitInterfaceSpecifier As ExplicitInterfaceSpecifierSyntax, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, constraintClauses As SyntaxList(Of TypeParameterConstraintClauseSyntax), block As BlockSyntax, semicolonToken As SyntaxToken) As MethodDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
returnType
TypeSyntax
explicitInterfaceSpecifier
ExplicitInterfaceSpecifierSyntax
identifier
SyntaxToken
typeParameterList
TypeParameterListSyntax
parameterList
ParameterListSyntax
block
BlockSyntax
semicolonToken
SyntaxToken

Returns

Applies to