1 implementation of ConstrainedToType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5165
public ITypeSymbol?
ConstrainedToType
{ get; }
5 references to ConstrainedToType
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
5933
return new InvocationOperation(operation.TargetMethod, operation.
ConstrainedToType
, visitedInstance, operation.IsVirtual, visitedArguments, semanticModel: null, operation.Syntax,
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (2)
828
if (operation.
ConstrainedToType
is not null)
830
LogType(operation.
ConstrainedToType
, header: " ConstrainedToType");
Compilation\TestOperationVisitor.cs (2)
535
AssertConstrainedToType(operation.TargetMethod, operation.
ConstrainedToType
);
536
if (operation.
ConstrainedToType
is not null)