10 references to BoundTypeExpression
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Expressions.cs (3)
1434
BoundTypeExpression boundType = new
BoundTypeExpression
(typeSyntax, alias, typeWithAnnotations, type.IsErrorType());
1473
BoundTypeExpression boundType = new
BoundTypeExpression
(typeSyntax, alias, typeWithAnnotations, typeHasErrors);
1635
var typeExpression = new
BoundTypeExpression
(node.Type, aliasOpt: alias, typeWithAnnotations);
Binder\Binder_Operators.cs (2)
4951
boundType = new
BoundTypeExpression
(possibleType, alias, targetTypeWithAnnotations);
5397
var typeExpression = new
BoundTypeExpression
(node.Right, alias, targetTypeWithAnnotations);
Binder\Binder_Patterns.cs (3)
1543
BoundTypeExpression boundDeclType = new
BoundTypeExpression
(typeSyntax, aliasOpt, typeWithAnnotations: declType);
2082
var boundOperandType = new
BoundTypeExpression
(syntax: node, aliasOpt: null, typeWithAnnotations: declType); // fake a type expression for the variable's type
2405
BoundTypeExpression patternType = new
BoundTypeExpression
(node.Type, aliasOpt, typeWithAnnotations: declType);
Binder\ForEachLoopBinder.cs (2)
319
boundIterationVariableType = new
BoundTypeExpression
(typeSyntax, alias, iterationVariableType);
422
boundIterationVariableType = new
BoundTypeExpression
(variables, aliasOpt: null, typeWithAnnotations: iterationVariableType).MakeCompilerGenerated();