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)
900var typeArgument = BindType(typeArgumentSyntax, unusedDiagnostics); 969TypeSymbol type = parameterOrReturnTypeBinder.BindType(typeSyntax, localDiagnostics).Type;
Binder\Binder_Expressions.cs (4)
1196TypeWithAnnotations typeWithAnnotations = BindType(node.Type, diagnostics); 2327TypeWithAnnotations targetTypeWithAnnotations = this.BindType(node.Type, diagnostics); 3799new PointerTypeSymbol(BindType(typeSyntax, diagnostics))); 4431var typeWithAnnotations = BindType(node.Type, diagnostics);
Binder\Binder_Lambda.cs (2)
179type = BindType(typeSyntax, diagnostics); 293var returnType = BindType(syntax, diagnostics);
Binder\Binder_Statements.cs (1)
3148type = this.BindType(declaration.Type, diagnostics).Type;
Binder\Binder_Symbols.cs (5)
541TypeWithAnnotations typeArgument = BindType(typeArgumentSyntax, diagnostics, basesBeingResolved); 591var elementType = BindType(node.ElementType, diagnostics, basesBeingResolved); 632TypeWithAnnotations type = BindType(node.ElementType, diagnostics, basesBeingResolved); 691var argumentType = BindType(argumentSyntax.Type, diagnostics, basesBeingResolved); 1362: binder.BindType(typeArgument, diagnostics, basesBeingResolved);
Compilation\CSharpSemanticModel.cs (1)
298crefSymbols = 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)
222TypeWithAnnotations returnType = WithTypeParametersBinder.BindType(returnTypeSyntax.SkipScoped(out _).SkipRef(), diagnostics);
Symbols\Source\ParameterHelpers.cs (1)
179var parameterType = withTypeParametersBinder.BindType(parameterSyntax.Type, diagnostics, suppressUseSiteDiagnostics: suppressUseSiteDiagnostics);
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
53var returnType = binder.BindType(returnTypeSyntax, diagnostics);
Symbols\Source\SourceEventSymbol.cs (1)
737return binder.BindType(typeSyntax, diagnostics);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
486type = binder.BindType(typeOnly, diagnosticsForFirstDeclarator);
Symbols\Source\SourceNamedTypeSymbol.cs (1)
72TypeSymbol bt = baseBinder.BindType(t, BindingDiagnosticBag.Discarded).Type;
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (3)
225var curBaseSym = baseBinder.BindType(b, BindingDiagnosticBag.Discarded).Type; 470baseType = baseBinder.BindType(typeSyntax, diagnostics, newBasesBeingResolved).Type; 539baseType = baseBinder.BindType(typeSyntax, diagnostics, newBasesBeingResolved).Type;
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
62var type = baseBinder.BindType(typeSyntax, diagnostics).Type;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
148TypeWithAnnotations returnType = signatureBinder.BindType(returnTypeSyntax, diagnostics);
Symbols\Source\SourcePropertySymbol.cs (1)
452var type = binder.BindType(typeSyntax, diagnostics);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
249returnType = signatureBinder.BindType(returnTypeSyntax, diagnostics);
Symbols\Symbol_Attributes.cs (1)
535var boundType = binder.BindType(attributeSyntax.Name, BindingDiagnosticBag.Discarded);