1 implementation of ConstrainedToType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5702
public ITypeSymbol?
ConstrainedToType
{ get; }
7 references to ConstrainedToType
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (5)
2233
operation.OperatorMethod, operation.
ConstrainedToType
, ((BinaryOperation)operation).UnaryOperatorMethod,
2506
constrainedToType: unaryOperatorMethod is not null && (unaryOperatorMethod.IsAbstract || unaryOperatorMethod.IsVirtual) ? binOp.
ConstrainedToType
: null,
2548
binOp.OperatorMethod is not null && (binOp.OperatorMethod.IsAbstract || binOp.OperatorMethod.IsVirtual) ? binOp.
ConstrainedToType
: null,
2609
constrainedToType: unaryOperatorMethod.IsAbstract || unaryOperatorMethod.IsVirtual ? binOp.
ConstrainedToType
: null,
2638
binOp.OperatorMethod.IsAbstract || binOp.OperatorMethod.IsVirtual ? binOp.
ConstrainedToType
: null,
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1195
LogHasOperatorMethodExpressionCommon(operation.OperatorMethod, operation.
ConstrainedToType
);
Compilation\TestOperationVisitor.cs (1)
777
var constrainedToType = operation.
ConstrainedToType
;