Binder\Binder_Expressions.cs (8)
869return new BoundTypeExpression(node, null, CreateErrorType("ref"));
876return new BoundTypeExpression(node, null, CreateErrorType("scoped"));
1701expression = new BoundTypeExpression(node, null, type);
2210return new BoundTypeExpression(node, null, (TypeSymbol)symbol, hasErrors: isError);
2238TypeSymbol typeSymbol => new BoundTypeExpression(node, alias, typeSymbol, hasErrors: isError),
2488return new BoundTypeExpression(node, alias, type);
7855return new BoundTypeExpression(node, null, type);
7865return 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),