5 implementations of ConstrainedToType
Microsoft.CodeAnalysis (5)
Generated\Operations.Generated.cs (4)
4968
public abstract ITypeSymbol?
ConstrainedToType
{ get; }
5036
public override ITypeSymbol?
ConstrainedToType
{ get; }
5092
public override ITypeSymbol?
ConstrainedToType
{ get; }
5160
public override ITypeSymbol?
ConstrainedToType
{ get; }
Operations\OperationNodes.cs (1)
205
public override ITypeSymbol?
ConstrainedToType
=> null;
18 references to ConstrainedToType
Microsoft.CodeAnalysis (8)
Operations\ControlFlowGraphBuilder.cs (8)
6125
return new EventReferenceOperation(eventReference.Event, eventReference.
ConstrainedToType
, instance, semanticModel: null, eventReference.Syntax,
6131
return new PropertyReferenceOperation(propertyReference.Property, propertyReference.
ConstrainedToType
, propertyArguments, instance, semanticModel: null, propertyReference.Syntax,
6201
IOperation visitedTarget = new PropertyReferenceOperation(propertyReference.Property, propertyReference.
ConstrainedToType
, ImmutableArray<IArgumentOperation>.Empty, visitedPropertyInstance,
6896
return new MethodReferenceOperation(operation.Method, operation.
ConstrainedToType
, operation.IsVirtual, visitedInstance, semanticModel: null,
6925
return new PropertyReferenceOperation(operation.Property, operation.
ConstrainedToType
, visitedArguments, visitedInstance, semanticModel: null,
6932
return new EventReferenceOperation(operation.Event, operation.
ConstrainedToType
, visitedInstance, semanticModel: null,
7069
visitedEventReference = new EventReferenceOperation(eventReference.Event, eventReference.
ConstrainedToType
, visitedInstance,
7115
var visitedEventReference = new EventReferenceOperation(operation.EventReference.Event, operation.EventReference.
ConstrainedToType
, visitedInstance,
Microsoft.CodeAnalysis.Test.Utilities (10)
Compilation\OperationTreeVerifier.cs (7)
1062
Assert.Null(operation.
ConstrainedToType
);
1072
if (operation.
ConstrainedToType
is not null)
1074
LogType(operation.
ConstrainedToType
, header: " (ConstrainedToType");
1093
if (operation.
ConstrainedToType
is not null)
1095
LogType(operation.
ConstrainedToType
, header: " (ConstrainedToType");
1112
if (operation.
ConstrainedToType
is not null)
1114
LogType(operation.
ConstrainedToType
, header: " (ConstrainedToType");
Compilation\TestOperationVisitor.cs (3)
637
AssertConstrainedToType(operation.Member, operation.
ConstrainedToType
);
665
Assert.Null(operation.
ConstrainedToType
);
679
if (operation.
ConstrainedToType
is not null)