Binder\Binder_Expressions.cs (8)
895return new BoundTypeExpression(node, null, CreateErrorType("ref"));
902return new BoundTypeExpression(node, null, CreateErrorType("scoped"));
1757expression = new BoundTypeExpression(node, null, type);
2170return new BoundTypeExpression(node, null, (TypeSymbol)symbol, hasErrors: isError);
2198TypeSymbol typeSymbol => new BoundTypeExpression(node, alias, typeSymbol, hasErrors: isError),
2545return new BoundTypeExpression(node, alias, type);
7944return new BoundTypeExpression(node, null, type);
7954return 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),
780receiverOpt: constrainedToTypeOpt is null ? null : new BoundTypeExpression(syntax, aliasOpt: null, constrainedToTypeOpt),
807receiverOpt: constrainedToTypeOpt is null ? null : new BoundTypeExpression(syntax, aliasOpt: null, constrainedToTypeOpt),