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