3 instantiations of NamespaceOrTypeOrAliasSymbolWithAnnotations
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder.NamespaceOrTypeOrAliasSymbolWithAnnotations.cs (3)
60
new
NamespaceOrTypeOrAliasSymbolWithAnnotations
(symbol, isNullableEnabled) :
61
new
NamespaceOrTypeOrAliasSymbolWithAnnotations
(TypeWithAnnotations.Create(isNullableEnabled, type));
66
return new
NamespaceOrTypeOrAliasSymbolWithAnnotations
(typeWithAnnotations);
39 references to NamespaceOrTypeOrAliasSymbolWithAnnotations
Microsoft.CodeAnalysis.CSharp (39)
Binder\Binder.NamespaceOrTypeOrAliasSymbolWithAnnotations.cs (2)
52
internal static
NamespaceOrTypeOrAliasSymbolWithAnnotations
CreateUnannotated(bool isNullableEnabled, Symbol symbol)
64
public static implicit operator
NamespaceOrTypeOrAliasSymbolWithAnnotations
(TypeWithAnnotations typeWithAnnotations)
Binder\Binder_Expressions.cs (1)
2419
var
symbol = this.BindNamespaceOrTypeOrAliasSymbol(node, diagnostics, null, false);
Binder\Binder_Symbols.cs (35)
39
var
symbol = BindTypeOrAliasOrVarKeyword(syntax, diagnostics, out isVar);
59
var
symbol = BindTypeOrAliasOrConstraintKeyword(syntax, diagnostics, out keyword);
80
var
symbol = BindTypeOrAliasOrVarKeyword(syntax, diagnostics, out isVar);
107
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrVarKeyword(TypeSyntax syntax, BindingDiagnosticBag diagnostics, out bool isVar)
111
var
symbol = BindTypeOrAliasOrKeyword((IdentifierNameSyntax)syntax, diagnostics, out isVar);
134
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrConstraintKeyword(TypeSyntax syntax, BindingDiagnosticBag diagnostics, out ConstraintContextualKeyword keyword)
152
var
symbol = BindTypeOrAliasOrKeyword(identifierSyntax, diagnostics, out bool isKeyword);
187
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrKeyword(IdentifierNameSyntax syntax, BindingDiagnosticBag diagnostics, out bool isKeyword)
192
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrKeyword(SyntaxToken identifier, SyntaxNode syntax, BindingDiagnosticBag diagnostics, out bool isKeyword)
296
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(identifier), symbol);
304
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
313
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved);
320
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAlias(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null, bool suppressUseSiteDiagnostics = false)
324
var
symbol = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, basesBeingResolved != null || suppressUseSiteDiagnostics);
375
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null)
385
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
387
var
result = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
408
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeOrAliasSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
537
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindNullable()
567
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPredefined()
574
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindAlias()
590
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPointer()
604
NamespaceOrTypeOrAliasSymbolWithAnnotations
createErrorType()
817
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindSimpleNamespaceOrTypeOrAliasSymbol(
844
protected
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNonGenericSimpleNamespaceOrTypeOrAliasSymbol(
927
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(node.Identifier), bindingResult);
1094
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1099
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out discarded, diagnostics, syntax, basesBeingResolved));
1105
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, out AliasSymbol alias, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1109
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out alias, diagnostics, syntax, basesBeingResolved));
1601
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindQualifiedName(
1623
var
right = this.BindSimpleNamespaceOrTypeOrAliasSymbol(rightName, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics, left);
1636
NamespaceOrTypeOrAliasSymbolWithAnnotations
convertToUnboundGenericType()
Symbols\AliasSymbol.cs (1)
405
var
annotatedNamespaceOrType = declarationBinder.BindNamespaceOrTypeSymbol(syntax, diagnostics, basesBeingResolved);