61 references to WhileStatement
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Statements.cs (2)
84
case SyntaxKind.
WhileStatement
:
366
case SyntaxKind.
WhileStatement
:
Binder\WhileBinder.cs (2)
24
Debug.Assert(syntax != null && (syntax.IsKind(SyntaxKind.
WhileStatement
) || syntax.IsKind(SyntaxKind.DoStatement)));
55
case SyntaxKind.
WhileStatement
:
Lowering\ClosureConversion\ClosureConversion.cs (1)
1775
case SyntaxKind.
WhileStatement
:
Lowering\Instrumentation\Instrumenter.cs (2)
123
Debug.Assert(original.Syntax.Kind() == SyntaxKind.
WhileStatement
);
138
Debug.Assert(original.Syntax.Kind() == SyntaxKind.
WhileStatement
);
Syntax\LambdaUtilities.cs (1)
414
case SyntaxKind.
WhileStatement
:
Syntax\LookupPosition.cs (2)
360
case SyntaxKind.
WhileStatement
:
436
case SyntaxKind.
WhileStatement
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (10)
src\Analyzers\CSharp\Analyzers\AddBraces\CSharpAddBracesDiagnosticAnalyzer.cs (1)
39
SyntaxKind.
WhileStatement
,
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
326
case SyntaxKind.
WhileStatement
:
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
159
case SyntaxKind.
WhileStatement
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
580
case SyntaxKind.
WhileStatement
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
398
case SyntaxKind.
WhileStatement
:
414
case SyntaxKind.
WhileStatement
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (1)
55
case SyntaxKind.
WhileStatement
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
613
return syntaxKind is SyntaxKind.IfStatement or SyntaxKind.
WhileStatement
or SyntaxKind.SwitchStatement or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
150
public int WhileStatement => (int)SyntaxKind.
WhileStatement
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (1)
359
SyntaxKind.
WhileStatement
or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
167
or SyntaxKind.
WhileStatement
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\LocalSlotMappingTests.cs (1)
3497
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.Update, method0, method1, GetSyntaxMapByKind(method0, SyntaxKind.
WhileStatement
))));
Microsoft.CodeAnalysis.CSharp.Features (12)
BraceCompletion\CurlyBraceCompletionService.cs (1)
212
case SyntaxKind.
WhileStatement
:
Debugging\CSharpProximityExpressionsService.Worker.cs (2)
205
case SyntaxKind.
WhileStatement
:
297
case SyntaxKind.
WhileStatement
:
EditAndContinue\BreakpointSpans.cs (1)
602
case SyntaxKind.
WhileStatement
:
EditAndContinue\SyntaxComparer.cs (3)
376
case SyntaxKind.
WhileStatement
:
862
case SyntaxKind.
WhileStatement
:
1059
case SyntaxKind.
WhileStatement
:
src\Analyzers\CSharp\Analyzers\AddBraces\CSharpAddBracesDiagnosticAnalyzer.cs (1)
39
SyntaxKind.
WhileStatement
,
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
326
case SyntaxKind.
WhileStatement
:
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
159
case SyntaxKind.
WhileStatement
:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (1)
414
case SyntaxKind.
WhileStatement
:
Structure\Providers\BlockSyntaxStructureProvider.cs (1)
205
SyntaxKind.
WhileStatement
=> BlockTypes.Loop,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (17)
Parsing\ParsingErrorRecoveryTests.cs (13)
4748
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
4777
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
4806
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
4836
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
4865
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
5865
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
5894
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
5923
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
5953
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
5982
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
6288
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
6322
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
6352
Assert.Equal(SyntaxKind.
WhileStatement
, ms.Body.Statements[1].Kind());
Parsing\StatementAttributeParsingTests.cs (3)
369
N(SyntaxKind.
WhileStatement
);
454
N(SyntaxKind.
WhileStatement
);
896
N(SyntaxKind.
WhileStatement
);
Parsing\StatementParsingTests.cs (1)
1474
Assert.Equal(SyntaxKind.
WhileStatement
, statement.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
Classification\ClassificationHelpers.cs (1)
115
case SyntaxKind.
WhileStatement
:
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
187
case SyntaxKind.
WhileStatement
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
580
case SyntaxKind.
WhileStatement
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
398
case SyntaxKind.
WhileStatement
:
414
case SyntaxKind.
WhileStatement
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (1)
55
case SyntaxKind.
WhileStatement
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
613
return syntaxKind is SyntaxKind.IfStatement or SyntaxKind.
WhileStatement
or SyntaxKind.SwitchStatement or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
150
public int WhileStatement => (int)SyntaxKind.
WhileStatement
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (1)
359
SyntaxKind.
WhileStatement
or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
167
or SyntaxKind.
WhileStatement