1 implementation of ConstrainedToType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5664
public ITypeSymbol?
ConstrainedToType
{ get; }
7 references to ConstrainedToType
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (5)
2231
operation.OperatorMethod, operation.
ConstrainedToType
, ((BinaryOperation)operation).UnaryOperatorMethod,
2504
constrainedToType: unaryOperatorMethod is not null && (unaryOperatorMethod.IsAbstract || unaryOperatorMethod.IsVirtual) ? binOp.
ConstrainedToType
: null,
2546
binOp.OperatorMethod is not null && (binOp.OperatorMethod.IsAbstract || binOp.OperatorMethod.IsVirtual) ? binOp.
ConstrainedToType
: null,
2607
constrainedToType: unaryOperatorMethod.IsAbstract || unaryOperatorMethod.IsVirtual ? binOp.
ConstrainedToType
: null,
2636
binOp.OperatorMethod.IsAbstract || binOp.OperatorMethod.IsVirtual ? binOp.
ConstrainedToType
: null,
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1207
LogHasOperatorMethodExpressionCommon(operation.OperatorMethod, operation.
ConstrainedToType
);
Compilation\TestOperationVisitor.cs (1)
770
var constrainedToType = operation.
ConstrainedToType
;