1 implementation of ValueOperand
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6133public IOperation ValueOperand { get; }
12 references to ValueOperand
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7201return new IsTypeOperation(VisitRequired(operation.ValueOperand), operation.TypeOperand, operation.IsNegated, semanticModel: null, operation.Syntax, operation.Type, IsImplicit(operation));
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (2)
106if (isTypeOperation.ValueOperand.Type is not null && 107isTypeOperation.ValueOperand.Type.InheritsFromOrEquals(isTypeOperation.TypeOperand))
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
72return new Type(typeSyntax, operation.ValueOperand);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
998referencedParameter = (typeCondition.ValueOperand as IParameterReferenceOperation)?.Parameter;
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (2)
106if (isTypeOperation.ValueOperand.Type is not null && 107isTypeOperation.ValueOperand.Type.InheritsFromOrEquals(isTypeOperation.TypeOperand))
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
72return new Type(typeSyntax, operation.ValueOperand);
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
998referencedParameter = (typeCondition.ValueOperand as IParameterReferenceOperation)?.Parameter;
Microsoft.CodeAnalysis.Features (1)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (1)
332when Supports(Feature.IsTypePattern) && CheckTargetExpression(op.ValueOperand) && op.Syntax is TIsExpressionSyntax node:
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1326Visit(operation.ValueOperand, "Operand");
Compilation\TestOperationVisitor.cs (1)
919Assert.Same(operation.ValueOperand, operation.ChildOperations.Single());