33 references to BindType
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder_Attributes.cs (1)
54var boundType = binder.BindType(attributeToBind.Name, diagnostics);
Binder\Binder_Crefs.cs (2)
1101var typeArgument = BindType(typeArgumentSyntax, unusedDiagnostics); 1175TypeSymbol type = parameterOrReturnTypeBinder.BindType(typeSyntax, localDiagnostics).Type;
Binder\Binder_Expressions.cs (4)
1271TypeWithAnnotations typeWithAnnotations = BindType(node.Type, diagnostics); 2661TypeWithAnnotations targetTypeWithAnnotations = this.BindType(node.Type, diagnostics); 4596new PointerTypeSymbol(BindType(typeSyntax, diagnostics))); 5285var typeWithAnnotations = BindType(node.Type, diagnostics);
Binder\Binder_Lambda.cs (2)
180var typeOpt = p.Type is not null ? BindType(p.Type, diagnostics) : default; 303var returnType = BindType(syntax, diagnostics);
Binder\Binder_Statements.cs (1)
3314type = this.BindType(declaration.Type, diagnostics).Type;
Binder\Binder_Symbols.cs (5)
555TypeWithAnnotations typeArgument = BindType(typeArgumentSyntax, diagnostics, basesBeingResolved); 605var elementType = BindType(node.ElementType, diagnostics, basesBeingResolved); 646TypeWithAnnotations type = BindType(node.ElementType, diagnostics, basesBeingResolved); 705var argumentType = BindType(argumentSyntax.Type, diagnostics, basesBeingResolved); 1387: binder.BindType(typeArgument, diagnostics, basesBeingResolved);
Compilation\CSharpSemanticModel.cs (1)
300crefSymbols = 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)
58explicitInterfaceTypeOpt = binder.BindType(explicitInterfaceName, diagnostics).Type;
Symbols\Source\LocalFunctionSymbol.cs (1)
266TypeWithAnnotations 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)
860return binder.BindType(typeSyntax, diagnostics);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5001var parameterType = signatureBinder.BindType(typeSyntax, diagnostics, suppressUseSiteDiagnostics: false);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
534type = binder.BindType(typeOnly, diagnosticsForFirstDeclarator);
Symbols\Source\SourceNamedTypeSymbol.cs (1)
64TypeSymbol bt = baseBinder.BindType(t, BindingDiagnosticBag.Discarded).Type;
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (3)
226var curBaseSym = baseBinder.BindType(b, BindingDiagnosticBag.Discarded).Type; 526baseType = baseBinder.BindType(typeSyntax, diagnostics, newBasesBeingResolved).Type; 595baseType = baseBinder.BindType(typeSyntax, diagnostics, newBasesBeingResolved).Type;
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
62var type = baseBinder.BindType(typeSyntax, diagnostics).Type;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
138TypeWithAnnotations returnType = signatureBinder.BindType(returnTypeSyntax, diagnostics);
Symbols\Source\SourcePropertySymbol.cs (1)
577var type = binder.BindType(typeSyntax, diagnostics);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
343returnType = signatureBinder.BindType(returnTypeSyntax, diagnostics);
Symbols\Symbol_Attributes.cs (1)
555var boundType = binder.BindType(attributeSyntax.Name, BindingDiagnosticBag.Discarded);