9 references to BindType
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (3)
1380
TypeWithAnnotations typeWithAnnotations = typeofBinder.
BindType
(typeSyntax, diagnostics, out alias);
1433
TypeWithAnnotations typeWithAnnotations = this.
BindType
(typeSyntax, diagnostics, out alias);
1572
TypeWithAnnotations typeWithAnnotations = this.
BindType
(node.Type, diagnostics, out AliasSymbol alias);
Binder\Binder_Operators.cs (2)
4767
TypeWithAnnotations targetTypeWithAnnotations =
BindType
(possibleType, bindAsTypeDiagnostics, out AliasSymbol alias);
5119
TypeWithAnnotations targetTypeWithAnnotations =
BindType
(node.Right, diagnostics, out alias);
Binder\Binder_Patterns.cs (1)
859
TypeWithAnnotations declType =
BindType
(typeSyntax, diagnostics, out AliasSymbol aliasOpt);
Compilation\CSharpSemanticModel.cs (2)
416
NamedTypeSymbol attributeType = (NamedTypeSymbol)binder.
BindType
(attribute.Name, BindingDiagnosticBag.Discarded, out aliasOpt).Type;
2783
var attributeType = (NamedTypeSymbol)binder.
BindType
(attribute.Name, BindingDiagnosticBag.Discarded, out aliasOpt).Type;
Compilation\PublicSemanticModel.cs (1)
20
var attributeType = (NamedTypeSymbol)enclosingBinder.
BindType
(attribute.Name, BindingDiagnosticBag.Discarded, out aliasOpt).Type;