9 references to BindType
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (3)
1415
TypeWithAnnotations typeWithAnnotations = typeofBinder.
BindType
(typeSyntax, diagnostics, out alias);
1468
TypeWithAnnotations typeWithAnnotations = this.
BindType
(typeSyntax, diagnostics, out alias);
1634
TypeWithAnnotations typeWithAnnotations = this.
BindType
(node.Type, diagnostics, out AliasSymbol alias);
Binder\Binder_Operators.cs (2)
4995
TypeWithAnnotations targetTypeWithAnnotations =
BindType
(possibleType, bindAsTypeDiagnostics, out AliasSymbol alias);
5348
TypeWithAnnotations targetTypeWithAnnotations =
BindType
(node.Right, diagnostics, out alias);
Binder\Binder_Patterns.cs (1)
1568
TypeWithAnnotations declType =
BindType
(typeSyntax, diagnostics, out AliasSymbol aliasOpt);
Compilation\CSharpSemanticModel.cs (2)
417
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;