9 references to BoundTypeExpression
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (3)
1399
BoundTypeExpression boundType = new
BoundTypeExpression
(typeSyntax, alias, typeWithAnnotations, type.IsErrorType());
1438
BoundTypeExpression boundType = new
BoundTypeExpression
(typeSyntax, alias, typeWithAnnotations, typeHasErrors);
1573
var typeExpression = new
BoundTypeExpression
(node.Type, aliasOpt: alias, typeWithAnnotations);
Binder\Binder_Operators.cs (2)
4769
boundType = new
BoundTypeExpression
(possibleType, alias, targetTypeWithAnnotations);
5121
var typeExpression = new
BoundTypeExpression
(node.Right, alias, targetTypeWithAnnotations);
Binder\Binder_Patterns.cs (2)
861
BoundTypeExpression boundDeclType = new
BoundTypeExpression
(typeSyntax, aliasOpt, typeWithAnnotations: declType);
1363
var boundOperandType = new
BoundTypeExpression
(syntax: node, aliasOpt: null, typeWithAnnotations: declType); // fake a type expression for the variable's type
Binder\ForEachLoopBinder.cs (2)
319
boundIterationVariableType = new
BoundTypeExpression
(typeSyntax, alias, iterationVariableType);
422
boundIterationVariableType = new
BoundTypeExpression
(variables, aliasOpt: null, typeWithAnnotations: iterationVariableType).MakeCompilerGenerated();