1 implementation of Value
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
3749public IOperation Value { get; }
17 references to Value
Microsoft.CodeAnalysis (4)
Operations\ControlFlowGraphBuilder.cs (4)
5370IOperation switchValue = VisitAndCapture(operation.Value); 5456bool leftIsNullable = ITypeSymbolHelpers.IsNullableType(operation.Value.Type); 5477Debug.Assert(operation.Value.Type != null); 5478rightOperand = MakeNullable(rightOperand, operation.Value.Type);
Microsoft.CodeAnalysis.CodeStyle (3)
AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (2)
24=> operation.Value; 27=> operation.Value.Type is null;
PopulateSwitchStatementHelpers.cs (1)
46var switchExpression = switchStatement.Value;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
AbstractPopulateSwitchStatementCodeFixProvider.cs (1)
60=> switchOperation.Value.Type ?? throw ExceptionUtilities.Unreachable();
Microsoft.CodeAnalysis.Features (4)
AbstractPopulateSwitchStatementCodeFixProvider.cs (1)
60=> switchOperation.Value.Type ?? throw ExceptionUtilities.Unreachable();
AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (2)
24=> operation.Value; 27=> operation.Value.Type is null;
PopulateSwitchStatementHelpers.cs (1)
46var switchExpression = switchStatement.Value;
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (1)
523Visit(operation.Value, header: "Switch expression");
Compilation\TestOperationVisitor.cs (1)
165AssertEx.Equal(new[] { operation.Value }.Concat(operation.Cases), operation.ChildOperations);
Diagnostics\OperationTestAnalyzer.cs (3)
453Report(operationContext, switchOperation.Value.Syntax, SparseSwitchDescriptor); 457Report(operationContext, switchOperation.Value.Syntax, NoDefaultSwitchDescriptor); 461Report(operationContext, switchOperation.Value.Syntax, OnlyDefaultSwitchDescriptor);