PragmaWarningDirectiveTriviaSyntax.Update 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
Update(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, SeparatedSyntaxList<ExpressionSyntax>, SyntaxToken, Boolean)
public Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax Update (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken pragmaKeyword, Microsoft.CodeAnalysis.SyntaxToken warningKeyword, Microsoft.CodeAnalysis.SyntaxToken disableOrRestoreKeyword, Microsoft.CodeAnalysis.SyntaxToken nullableKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> errorCodes, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax
Public Function Update (hashToken As SyntaxToken, pragmaKeyword As SyntaxToken, warningKeyword As SyntaxToken, disableOrRestoreKeyword As SyntaxToken, nullableKeyword As SyntaxToken, errorCodes As SeparatedSyntaxList(Of ExpressionSyntax), endOfDirectiveToken As SyntaxToken, isActive As Boolean) As PragmaWarningDirectiveTriviaSyntax
Parameters
- hashToken
- SyntaxToken
- pragmaKeyword
- SyntaxToken
- warningKeyword
- SyntaxToken
- disableOrRestoreKeyword
- SyntaxToken
- nullableKeyword
- SyntaxToken
- errorCodes
- SeparatedSyntaxList<ExpressionSyntax>
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
Update(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, SeparatedSyntaxList<ExpressionSyntax>, SyntaxToken, Boolean)
public Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax Update (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken pragmaKeyword, Microsoft.CodeAnalysis.SyntaxToken warningKeyword, Microsoft.CodeAnalysis.SyntaxToken disableOrRestoreKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> errorCodes, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax
Public Function Update (hashToken As SyntaxToken, pragmaKeyword As SyntaxToken, warningKeyword As SyntaxToken, disableOrRestoreKeyword As SyntaxToken, errorCodes As SeparatedSyntaxList(Of ExpressionSyntax), endOfDirectiveToken As SyntaxToken, isActive As Boolean) As PragmaWarningDirectiveTriviaSyntax
Parameters
- hashToken
- SyntaxToken
- pragmaKeyword
- SyntaxToken
- warningKeyword
- SyntaxToken
- disableOrRestoreKeyword
- SyntaxToken
- errorCodes
- SeparatedSyntaxList<ExpressionSyntax>
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
Update(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, Boolean)
public Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax Update (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken pragmaKeyword, Microsoft.CodeAnalysis.SyntaxToken warningKeyword, Microsoft.CodeAnalysis.SyntaxToken disableOrRestoreKeyword, Microsoft.CodeAnalysis.SyntaxToken nullableKeyword, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax
Public Function Update (hashToken As SyntaxToken, pragmaKeyword As SyntaxToken, warningKeyword As SyntaxToken, disableOrRestoreKeyword As SyntaxToken, nullableKeyword As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As PragmaWarningDirectiveTriviaSyntax
Parameters
- hashToken
- SyntaxToken
- pragmaKeyword
- SyntaxToken
- warningKeyword
- SyntaxToken
- disableOrRestoreKeyword
- SyntaxToken
- nullableKeyword
- SyntaxToken
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET