5 implementations of ConstrainedToType
Microsoft.CodeAnalysis (5)
Generated\Operations.Generated.cs (4)
5341
public abstract ITypeSymbol?
ConstrainedToType
{ get; }
5409
public override ITypeSymbol?
ConstrainedToType
{ get; }
5465
public override ITypeSymbol?
ConstrainedToType
{ get; }
5533
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)
6238
return new EventReferenceOperation(eventReference.Event, eventReference.
ConstrainedToType
, instance, semanticModel: null, eventReference.Syntax,
6244
return new PropertyReferenceOperation(propertyReference.Property, propertyReference.
ConstrainedToType
, propertyArguments, instance, semanticModel: null, propertyReference.Syntax,
6400
IOperation visitedTarget = new PropertyReferenceOperation(propertyReference.Property, propertyReference.
ConstrainedToType
, ImmutableArray<IArgumentOperation>.Empty, visitedPropertyInstance,
7134
return new MethodReferenceOperation(operation.Method, operation.
ConstrainedToType
, operation.IsVirtual, visitedInstance, semanticModel: null,
7163
return new PropertyReferenceOperation(operation.Property, operation.
ConstrainedToType
, visitedArguments, visitedInstance, semanticModel: null,
7170
return new EventReferenceOperation(operation.Event, operation.
ConstrainedToType
, visitedInstance, semanticModel: null,
7307
visitedEventReference = new EventReferenceOperation(eventReference.Event, eventReference.
ConstrainedToType
, visitedInstance,
7353
var visitedEventReference = new EventReferenceOperation(operation.EventReference.Event, operation.EventReference.
ConstrainedToType
, visitedInstance,
Microsoft.CodeAnalysis.Test.Utilities (10)
Compilation\OperationTreeVerifier.cs (7)
1071
Assert.Null(operation.
ConstrainedToType
);
1081
if (operation.
ConstrainedToType
is not null)
1083
LogType(operation.
ConstrainedToType
, header: " (ConstrainedToType");
1102
if (operation.
ConstrainedToType
is not null)
1104
LogType(operation.
ConstrainedToType
, header: " (ConstrainedToType");
1121
if (operation.
ConstrainedToType
is not null)
1123
LogType(operation.
ConstrainedToType
, header: " (ConstrainedToType");
Compilation\TestOperationVisitor.cs (3)
655
AssertConstrainedToType(operation.Member, operation.
ConstrainedToType
);
683
Assert.Null(operation.
ConstrainedToType
);
697
if (operation.
ConstrainedToType
is not null)