1 implementation of Operand
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5592public IOperation Operand { get; }
22 references to Operand
ILLink.RoslynAnalyzer (1)
DataFlow\FeatureChecksVisitor.cs (1)
67 FeatureChecksValue context = Visit (operation.Operand, state);
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs (1)
134var operation = ((IUnaryOperation)condition).Operand;
Microsoft.CodeAnalysis (4)
Operations\ControlFlowGraphBuilder.cs (4)
2256return new UnaryOperation(operation.OperatorKind, VisitRequired(operation.Operand), operation.IsLifted, operation.IsChecked, 2266ITypeSymbolHelpers.IsBooleanType(operation.Operand.Type); 2717condition = unary.Operand; 2860condition = unOp.Operand;
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (2)
1661PerformPredicateAnalysisCore(unaryOperation.Operand, targetAnalysisData); 3705return Visit(operation.Operand, argument);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.cs (1)
234? unary.OperatorKind == UnaryOperatorKind.Minus && IsLiteralNumber(unary.Operand)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
59return Not.TryCreate(ParsePattern(op.Operand));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
140Operand: IOperation operand 734(_, IUnaryOperation { OperatorKind: UnaryOperatorKind.Not, Operand: IOperation newCondition }) 794(_, IUnaryOperation { OperatorKind: UnaryOperatorKind.Not, Operand: IOperation newCondition })
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
59return Not.TryCreate(ParsePattern(op.Operand));
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
140Operand: IOperation operand 734(_, IUnaryOperation { OperatorKind: UnaryOperatorKind.Not, Operand: IOperation newCondition }) 794(_, IUnaryOperation { OperatorKind: UnaryOperatorKind.Not, Operand: IOperation newCondition })
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.cs (1)
234? unary.OperatorKind == UnaryOperatorKind.Minus && IsLiteralNumber(unary.Operand)
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
1183Visit(operation.Operand, "Operand");
Compilation\TestOperationVisitor.cs (1)
755Assert.Same(operation.Operand, operation.ChildOperations.Single());
Diagnostics\OperationTestAnalyzer.cs (1)
1641var operand = unary.Operand;
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (1)
IOperation\IOperationTests.vb (1)
135Dim operand3 As IOperation = negate3.Operand