1 implementation of Operand
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5219public IOperation Operand { get; }
18 references to Operand
Microsoft.CodeAnalysis (4)
Operations\ControlFlowGraphBuilder.cs (4)
2239return new UnaryOperation(operation.OperatorKind, VisitRequired(operation.Operand), operation.IsLifted, operation.IsChecked, 2249ITypeSymbolHelpers.IsBooleanType(operation.Operand.Type); 2700condition = unary.Operand; 2843condition = unOp.Operand;
Microsoft.CodeAnalysis.CodeStyle (1)
HashCodeAnalyzer.cs (1)
234? unary.OperatorKind == UnaryOperatorKind.Minus && IsLiteralNumber(unary.Operand)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpUsePatternCombinatorsAnalyzer.cs (1)
60return Not.TryCreate(ParsePattern(op.Operand));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
ConvertToRecordHelpers.cs (3)
140Operand: IOperation operand 733(_, IUnaryOperation { OperatorKind: UnaryOperatorKind.Not, Operand: IOperation newCondition }) 793(_, IUnaryOperation { OperatorKind: UnaryOperatorKind.Not, Operand: IOperation newCondition })
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertToRecordHelpers.cs (3)
140Operand: IOperation operand 733(_, IUnaryOperation { OperatorKind: UnaryOperatorKind.Not, Operand: IOperation newCondition }) 793(_, IUnaryOperation { OperatorKind: UnaryOperatorKind.Not, Operand: IOperation newCondition })
CSharpUsePatternCombinatorsAnalyzer.cs (1)
60return Not.TryCreate(ParsePattern(op.Operand));
Microsoft.CodeAnalysis.Features (1)
HashCodeAnalyzer.cs (1)
234? unary.OperatorKind == UnaryOperatorKind.Minus && IsLiteralNumber(unary.Operand)
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
1174Visit(operation.Operand, "Operand");
Compilation\TestOperationVisitor.cs (1)
737Assert.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