32 references to BindType
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder_Attributes.cs (1)
54var boundType = binder.BindType(attributeToBind.Name, diagnostics);
Binder\Binder_Crefs.cs (2)
1098var typeArgument = BindType(typeArgumentSyntax, unusedDiagnostics); 1172TypeSymbol type = parameterOrReturnTypeBinder.BindType(typeSyntax, localDiagnostics).Type;
Binder\Binder_Expressions.cs (4)
1239TypeWithAnnotations typeWithAnnotations = BindType(node.Type, diagnostics); 2587TypeWithAnnotations targetTypeWithAnnotations = this.BindType(node.Type, diagnostics); 4518new PointerTypeSymbol(BindType(typeSyntax, diagnostics))); 5204var typeWithAnnotations = BindType(node.Type, diagnostics);
Binder\Binder_Lambda.cs (2)
179var typeOpt = p.Type is not null ? BindType(p.Type, diagnostics) : default; 302var returnType = BindType(syntax, diagnostics);
Binder\Binder_Statements.cs (1)
3286type = this.BindType(declaration.Type, diagnostics).Type;
Binder\Binder_Symbols.cs (5)
551TypeWithAnnotations typeArgument = BindType(typeArgumentSyntax, diagnostics, basesBeingResolved); 601var elementType = BindType(node.ElementType, diagnostics, basesBeingResolved); 642TypeWithAnnotations type = BindType(node.ElementType, diagnostics, basesBeingResolved); 701var argumentType = BindType(argumentSyntax.Type, diagnostics, basesBeingResolved); 1372: binder.BindType(typeArgument, diagnostics, basesBeingResolved);
Compilation\CSharpSemanticModel.cs (1)
299crefSymbols = ImmutableArray.Create<Symbol>(binder.BindType(expression, BindingDiagnosticBag.Discarded).Type);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
71returnType = typeBinder.BindType(returnTypeParameter.Type, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
54explicitInterfaceTypeOpt = binder.BindType(explicitInterfaceName, diagnostics).Type;
Symbols\Source\LocalFunctionSymbol.cs (1)
258TypeWithAnnotations returnType = WithTypeParametersBinder.BindType(returnTypeSyntax.SkipScoped(out _).SkipRef(), diagnostics);
Symbols\Source\ParameterHelpers.cs (1)
308var parameterType = withTypeParametersBinder.BindType(parameterSyntax.Type, diagnostics, suppressUseSiteDiagnostics: suppressUseSiteDiagnostics);
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
57var returnType = binder.BindType(returnTypeSyntax, diagnostics);
Symbols\Source\SourceEventSymbol.cs (1)
821return binder.BindType(typeSyntax, diagnostics);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
501type = binder.BindType(typeOnly, diagnosticsForFirstDeclarator);
Symbols\Source\SourceNamedTypeSymbol.cs (1)
63TypeSymbol bt = baseBinder.BindType(t, BindingDiagnosticBag.Discarded).Type;
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (3)
226var curBaseSym = baseBinder.BindType(b, BindingDiagnosticBag.Discarded).Type; 471baseType = baseBinder.BindType(typeSyntax, diagnostics, newBasesBeingResolved).Type; 540baseType = baseBinder.BindType(typeSyntax, diagnostics, newBasesBeingResolved).Type;
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
62var type = baseBinder.BindType(typeSyntax, diagnostics).Type;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
137TypeWithAnnotations returnType = signatureBinder.BindType(returnTypeSyntax, diagnostics);
Symbols\Source\SourcePropertySymbol.cs (1)
578var type = binder.BindType(typeSyntax, diagnostics);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
343returnType = signatureBinder.BindType(returnTypeSyntax, diagnostics);
Symbols\Symbol_Attributes.cs (1)
550var boundType = binder.BindType(attributeSyntax.Name, BindingDiagnosticBag.Discarded);