25 references to BoundTypeExpression
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Expressions.cs (8)
826
return new
BoundTypeExpression
(node, null, CreateErrorType("ref"));
833
return new
BoundTypeExpression
(node, null, CreateErrorType("scoped"));
1571
expression = new
BoundTypeExpression
(node, null, type);
1974
return new
BoundTypeExpression
(node, null, (TypeSymbol)symbol, hasErrors: isError);
2005
return new
BoundTypeExpression
(node, alias, (NamedTypeSymbol)symbol, hasErrors: isError);
2243
return new
BoundTypeExpression
(node, alias, type);
6728
return new
BoundTypeExpression
(node, null, type);
6738
return new
BoundTypeExpression
(node, null,
Binder\Binder_Invocation.cs (1)
346
receiverOpt: new
BoundTypeExpression
(node, null, this.ContainingType).MakeCompilerGenerated(),
Compilation\AttributeSemanticModel.cs (1)
94
return new
BoundTypeExpression
((NameSyntax)node, _aliasOpt, type: AttributeType);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1046
receiver = new
BoundTypeExpression
(syntax, null, synthesizedMethod.ContainingType);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
86
var falseOperatorCall = BoundCall.Synthesized(syntax, receiverOpt: node.ConstrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, node.ConstrainedToTypeOpt),
757
return BoundCall.Synthesized(syntax, receiverOpt: constrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, constrainedToTypeOpt), leftTruthOperator, loweredLeft);
779
return BoundCall.Synthesized(syntax, receiverOpt: constrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, constrainedToTypeOpt), method, loweredLeft, loweredRight);
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
52
loweredReceiver = new
BoundTypeExpression
(node.Syntax, null, firstContainer);
58
loweredReceiver = new
BoundTypeExpression
(node.Syntax, null, _factory.CurrentType);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (3)
1082
return MakeLiftedUserDefinedConversionConsequence(BoundCall.Synthesized(syntax, receiverOpt: constrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, constrainedToTypeOpt), conversion.Method, nonNullValue), type);
1222
BoundExpression result = BoundCall.Synthesized(syntax, receiverOpt: constrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, constrainedToTypeOpt), conversion.Method, rewrittenOperand);
1294
BoundCall userDefinedCall = BoundCall.Synthesized(syntax, receiverOpt: constrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, constrainedToTypeOpt), conversion.Method, callGetValueOrDefault);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
365
BoundTypeExpression boundIDisposableTypeExpr = new
BoundTypeExpression
(forEachSyntax,
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (3)
116
return BoundCall.Synthesized(syntax, receiverOpt: constrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, constrainedToTypeOpt), method, loweredOperand);
644
return BoundCall.Synthesized(syntax, receiverOpt: node.ConstrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, node.ConstrainedToTypeOpt), node.MethodOpt, rewrittenArgument);
669
BoundExpression userDefinedCall = BoundCall.Synthesized(syntax, receiverOpt: node.ConstrainedToTypeOpt is null ? null : new
BoundTypeExpression
(syntax, aliasOpt: null, node.ConstrainedToTypeOpt), node.MethodOpt, call_GetValueOrDefault);
Lowering\SyntheticBoundNodeFactory.cs (1)
1177
return new
BoundTypeExpression
(Syntax, null, type) { WasCompilerGenerated = true };
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
Rewriters\LocalDeclarationRewriter.cs (1)
109
var type = new BoundTypeOfOperator(syntax, new
BoundTypeExpression
(syntax, aliasOpt: null, type: local.Type), null, typeType);