9 references to BindType
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (3)
1337
TypeWithAnnotations typeWithAnnotations = typeofBinder.
BindType
(typeSyntax, diagnostics, out alias);
1390
TypeWithAnnotations typeWithAnnotations = this.
BindType
(typeSyntax, diagnostics, out alias);
1446
TypeWithAnnotations typeWithAnnotations = this.
BindType
(node.Type, diagnostics, out AliasSymbol alias);
Binder\Binder_Operators.cs (2)
3297
TypeWithAnnotations targetTypeWithAnnotations =
BindType
(possibleType, bindAsTypeDiagnostics, out AliasSymbol alias);
3620
TypeWithAnnotations targetTypeWithAnnotations =
BindType
(node.Right, diagnostics, out alias);
Binder\Binder_Patterns.cs (1)
849
TypeWithAnnotations declType =
BindType
(typeSyntax, diagnostics, out AliasSymbol aliasOpt);
Compilation\CSharpSemanticModel.cs (2)
413
NamedTypeSymbol attributeType = (NamedTypeSymbol)binder.
BindType
(attribute.Name, BindingDiagnosticBag.Discarded, out aliasOpt).Type;
2765
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;