1 implementation of ConstrainedToType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5704public ITypeSymbol? ConstrainedToType { get; }
5 references to ConstrainedToType
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (5)
2241operation.OperatorMethod, operation.ConstrainedToType, ((BinaryOperation)operation).UnaryOperatorMethod, 2514constrainedToType: unaryOperatorMethod is not null && (unaryOperatorMethod.IsAbstract || unaryOperatorMethod.IsVirtual) ? binOp.ConstrainedToType : null, 2556binOp.OperatorMethod is not null && (binOp.OperatorMethod.IsAbstract || binOp.OperatorMethod.IsVirtual) ? binOp.ConstrainedToType : null, 2617constrainedToType: unaryOperatorMethod.IsAbstract || unaryOperatorMethod.IsVirtual ? binOp.ConstrainedToType : null, 2646binOp.OperatorMethod.IsAbstract || binOp.OperatorMethod.IsVirtual ? binOp.ConstrainedToType : null,