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