Binder\Binder_Expressions.cs (8)
870return new BoundTypeExpression(node, null, CreateErrorType("ref"));
877return new BoundTypeExpression(node, null, CreateErrorType("scoped"));
1724expression = new BoundTypeExpression(node, null, type);
2233return new BoundTypeExpression(node, null, (TypeSymbol)symbol, hasErrors: isError);
2261TypeSymbol typeSymbol => new BoundTypeExpression(node, alias, typeSymbol, hasErrors: isError),
2511return new BoundTypeExpression(node, alias, type);
7886return new BoundTypeExpression(node, null, type);
7896return new BoundTypeExpression(node, null,
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
87var falseOperatorCall = BoundCall.Synthesized(syntax, receiverOpt: node.ConstrainedToTypeOpt is null ? null : new BoundTypeExpression(syntax, aliasOpt: null, node.ConstrainedToTypeOpt),
779receiverOpt: constrainedToTypeOpt is null ? null : new BoundTypeExpression(syntax, aliasOpt: null, constrainedToTypeOpt),
806receiverOpt: constrainedToTypeOpt is null ? null : new BoundTypeExpression(syntax, aliasOpt: null, constrainedToTypeOpt),