1 implementation of ConstrainedToType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5291
public ITypeSymbol?
ConstrainedToType
{ get; }
7 references to ConstrainedToType
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (5)
2214
operation.OperatorMethod, operation.
ConstrainedToType
, ((BinaryOperation)operation).UnaryOperatorMethod,
2487
constrainedToType: unaryOperatorMethod is not null && (unaryOperatorMethod.IsAbstract || unaryOperatorMethod.IsVirtual) ? binOp.
ConstrainedToType
: null,
2529
binOp.OperatorMethod is not null && (binOp.OperatorMethod.IsAbstract || binOp.OperatorMethod.IsVirtual) ? binOp.
ConstrainedToType
: null,
2590
constrainedToType: unaryOperatorMethod.IsAbstract || unaryOperatorMethod.IsVirtual ? binOp.
ConstrainedToType
: null,
2619
binOp.OperatorMethod.IsAbstract || binOp.OperatorMethod.IsVirtual ? binOp.
ConstrainedToType
: null,
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1198
LogHasOperatorMethodExpressionCommon(operation.OperatorMethod, operation.
ConstrainedToType
);
Compilation\TestOperationVisitor.cs (1)
752
var constrainedToType = operation.
ConstrainedToType
;