Files
2026-08-27 10:56:38 -06:00

91 lines
3.2 KiB
C#

using Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax;
namespace Microsoft.CodeAnalysis.CSharp.Syntax;
public abstract class CommonForEachStatementSyntax : StatementSyntax
{
public abstract SyntaxToken AwaitKeyword { get; }
public abstract SyntaxToken ForEachKeyword { get; }
public abstract SyntaxToken OpenParenToken { get; }
public abstract SyntaxToken InKeyword { get; }
public abstract ExpressionSyntax Expression { get; }
public abstract SyntaxToken CloseParenToken { get; }
public abstract StatementSyntax Statement { get; }
internal CommonForEachStatementSyntax(Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.CSharpSyntaxNode green, SyntaxNode? parent, int position)
: base(green, parent, position)
{
}
public CommonForEachStatementSyntax WithAwaitKeyword(SyntaxToken awaitKeyword)
{
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
return WithAwaitKeywordCore(awaitKeyword);
}
internal abstract CommonForEachStatementSyntax WithAwaitKeywordCore(SyntaxToken awaitKeyword);
public CommonForEachStatementSyntax WithForEachKeyword(SyntaxToken forEachKeyword)
{
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
return WithForEachKeywordCore(forEachKeyword);
}
internal abstract CommonForEachStatementSyntax WithForEachKeywordCore(SyntaxToken forEachKeyword);
public CommonForEachStatementSyntax WithOpenParenToken(SyntaxToken openParenToken)
{
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
return WithOpenParenTokenCore(openParenToken);
}
internal abstract CommonForEachStatementSyntax WithOpenParenTokenCore(SyntaxToken openParenToken);
public CommonForEachStatementSyntax WithInKeyword(SyntaxToken inKeyword)
{
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
return WithInKeywordCore(inKeyword);
}
internal abstract CommonForEachStatementSyntax WithInKeywordCore(SyntaxToken inKeyword);
public CommonForEachStatementSyntax WithExpression(ExpressionSyntax expression)
{
return WithExpressionCore(expression);
}
internal abstract CommonForEachStatementSyntax WithExpressionCore(ExpressionSyntax expression);
public CommonForEachStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken)
{
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
return WithCloseParenTokenCore(closeParenToken);
}
internal abstract CommonForEachStatementSyntax WithCloseParenTokenCore(SyntaxToken closeParenToken);
public CommonForEachStatementSyntax WithStatement(StatementSyntax statement)
{
return WithStatementCore(statement);
}
internal abstract CommonForEachStatementSyntax WithStatementCore(StatementSyntax statement);
public new CommonForEachStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists)
{
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
return (CommonForEachStatementSyntax)WithAttributeListsCore(attributeLists);
}
public new CommonForEachStatementSyntax AddAttributeLists(params AttributeListSyntax[] items)
{
return (CommonForEachStatementSyntax)AddAttributeListsCore(items);
}
}