1 implementation of Value
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8333
public IOperation
Value
{ get; }
12 references to Value
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
5548
handleEqualityCheck(((ISingleValueCaseClauseOperation)caseClause).
Value
);
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
48
ConstantValueEquals(singleValueCase.
Value
.ConstantValue, value))
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (3)
86
if (clause is not ISingleValueCaseClauseOperation {
Value
: var value })
118
var value = ((ISingleValueCaseClauseOperation)clause).
Value
;
197
case ISingleValueCaseClauseOperation {
Value
: IConversionOperation { ConstantValue: { HasValue: true, Value: null } } }:
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
48
ConstantValueEquals(singleValueCase.
Value
.ConstantValue, value))
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (3)
86
if (clause is not ISingleValueCaseClauseOperation {
Value
: var value })
118
var value = ((ISingleValueCaseClauseOperation)clause).
Value
;
197
case ISingleValueCaseClauseOperation {
Value
: IConversionOperation { ConstantValue: { HasValue: true, Value: null } } }:
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
1840
Visit(operation.
Value
, "Value");
Compilation\TestOperationVisitor.cs (1)
217
AssertEx.Equal(new[] { operation.
Value
}, operation.ChildOperations);
Diagnostics\OperationTestAnalyzer.cs (1)
354
IOperation singleValueExpression = singleValueClause.
Value
;