24 references to Value
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1942=> node.Update(VisitToken(node.Keyword), (ExpressionSyntax?)Visit(node.Value) ?? throw new ArgumentNullException("value"), VisitToken(node.ColonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (3)
8795if (keyword != this.Keyword || value != this.Value || colonToken != this.ColonToken) 8806public new CaseSwitchLabelSyntax WithKeyword(SyntaxToken keyword) => Update(keyword, this.Value, this.ColonToken); 8809public new CaseSwitchLabelSyntax WithColonToken(SyntaxToken colonToken) => Update(this.Keyword, this.Value, colonToken);
Binder\ExpressionVariableFinder.cs (1)
160VisitNodeToBind(switchlabel.Value);
Binder\LocalBinderFactory.cs (1)
766Visit(switchLabel.Value, patternBinder);
Binder\SwitchBinder.cs (2)
211Debug.Assert(caseLabel.Value != null); 212var boundLabelExpression = sectionBinder.BindTypeOrRValue(caseLabel.Value, tempDiagnosticBag);
Binder\SwitchBinder_Patterns.cs (4)
125diagnostics.Add(ErrorCode.ERR_SwitchCaseSubsumed, p.Value.Location); 252caseLabelSyntax.Value, caseLabelSyntax.Value, ref unionType, SwitchGoverningType, hasErrors, diagnostics, out bool hasUnionMatching); 254reportIfConstantNamedUnderscore(pattern, caseLabelSyntax.Value);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
477!ImplicitConversionsAreCompatible(originalSwitchLabel.Value, newSwitchLabel.Value))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
169return ConstantPattern(((CaseSwitchLabelSyntax)switchLabel).Value);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
2213var result = GetTypes(firstCase.Value);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
570b => b.Value,
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
169return ConstantPattern(((CaseSwitchLabelSyntax)switchLabel).Value);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
477!ImplicitConversionsAreCompatible(originalSwitchLabel.Value, newSwitchLabel.Value))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
2213var result = GetTypes(firstCase.Value);
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
477!ImplicitConversionsAreCompatible(originalSwitchLabel.Value, newSwitchLabel.Value))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
2213var result = GetTypes(firstCase.Value);