1 implementation of OperatorMethod
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6325public IMethodSymbol? OperatorMethod { get; }
12 references to OperatorMethod
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (2)
1530/// Type parameter which runtime type will be used to resolve virtual invocation of the <see cref="OperatorMethod" />, if any. 1531/// Null if <see cref="OperatorMethod" /> is resolved statically, or is null.
Operations\ControlFlowGraphBuilder.cs (1)
2115operation.IsChecked, operation.OperatorMethod, operation.ConstrainedToType, PopOperand(), value, semanticModel: null,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\DynamicTests.cs (4)
7192Assert.Null(operation.OperatorMethod); 7305Assert.Null(operation.OperatorMethod); 7421Assert.Null(operation.OperatorMethod); 7536Assert.Null(operation.OperatorMethod);
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1705LogHasOperatorMethodExpressionCommon(operation.OperatorMethod, operation.ConstrainedToType);
Compilation\TestOperationVisitor.cs (1)
1171var operatorMethod = operation.OperatorMethod;
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (3)
IOperation\IOperationTests.vb (3)
197Assert.Null(assignment1.OperatorMethod) 225Assert.NotNull(assignment2.OperatorMethod) 226Assert.Equal(assignment2.OperatorMethod.Name, "op_Addition")