1 implementation of OperatorMethod
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5952
public IMethodSymbol?
OperatorMethod
{ get; }
8 references to OperatorMethod
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (2)
1423
/// Type parameter which runtime type will be used to resolve virtual invocation of the <see cref="
OperatorMethod
" />, if any.
1424
/// Null if <see cref="
OperatorMethod
" /> is resolved statically, or is null.
Operations\ControlFlowGraphBuilder.cs (1)
2109
operation.IsChecked, operation.
OperatorMethod
, operation.ConstrainedToType, PopOperand(), value, semanticModel: null,
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1667
LogHasOperatorMethodExpressionCommon(operation.
OperatorMethod
, operation.ConstrainedToType);
Compilation\TestOperationVisitor.cs (1)
1153
var operatorMethod = operation.
OperatorMethod
;
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (3)
IOperation\IOperationTests.vb (3)
197
Assert.Null(assignment1.
OperatorMethod
)
225
Assert.NotNull(assignment2.
OperatorMethod
)
226
Assert.Equal(assignment2.
OperatorMethod
.Name, "op_Addition")