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