6 references to WhenKeyword
Microsoft.CodeAnalysis.CSharp (3)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1780
=> node.Update(VisitToken(node.
WhenKeyword
), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"));
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
5217
if (whenKeyword != this.
WhenKeyword
|| condition != this.Condition)
5228
public WhenClauseSyntax WithCondition(ExpressionSyntax condition) => Update(this.
WhenKeyword
, condition);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
2449
if (previousToken.HasValue && previousToken.Value != whenClause.
WhenKeyword
)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
2449
if (previousToken.HasValue && previousToken.Value != whenClause.
WhenKeyword
)
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
2449
if (previousToken.HasValue && previousToken.Value != whenClause.
WhenKeyword
)