/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/CSharp/Portable/Syntax/ConversionOperatorDeclarationSyntax.cs
59 строк
2 KB
AlekseyTs
Support parsing of checked user-defined operator declarations (#59504)
16 фев 2022, 22:28
Не верифицирован
16 фев 2022, 22:28
25c6a00
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CodeAnalysis.CSharp.Syntax { public partial class ConversionOperatorDeclarationSyntax { public ConversionOperatorDeclarationSyntax Update( SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken implicitOrExplicitKeyword, SyntaxToken operatorKeyword, TypeSyntax type, ParameterListSyntax parameterList, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody, SyntaxToken semicolonToken) { return Update( attributeLists: attributeLists, modifiers: modifiers, implicitOrExplicitKeyword: implicitOrExplicitKeyword, explicitInterfaceSpecifier: this.ExplicitInterfaceSpecifier, operatorKeyword: operatorKeyword, type: type, parameterList: parameterList, body: body, expressionBody: expressionBody, semicolonToken: semicolonToken); } public ConversionOperatorDeclarationSyntax Update( SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken implicitOrExplicitKeyword, ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier, SyntaxToken operatorKeyword, TypeSyntax type, ParameterListSyntax parameterList, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody, SyntaxToken semicolonToken) { return Update( attributeLists: attributeLists, modifiers: modifiers, implicitOrExplicitKeyword: implicitOrExplicitKeyword, explicitInterfaceSpecifier: explicitInterfaceSpecifier, operatorKeyword: operatorKeyword, checkedKeyword: this.CheckedKeyword, type: type, parameterList: parameterList, body: body, expressionBody: expressionBody, semicolonToken: semicolonToken); } } }