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)
2221
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)
294
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(identifier), symbol);
302
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
311
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved);
318
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAlias(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null, bool suppressUseSiteDiagnostics = false)
322
var
symbol = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, basesBeingResolved != null || suppressUseSiteDiagnostics);
373
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null)
383
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
385
var
result = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
406
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeOrAliasSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
535
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindNullable()
565
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPredefined()
572
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindAlias()
588
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPointer()
602
NamespaceOrTypeOrAliasSymbolWithAnnotations
createErrorType()
815
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindSimpleNamespaceOrTypeOrAliasSymbol(
842
protected
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNonGenericSimpleNamespaceOrTypeOrAliasSymbol(
925
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(node.Identifier), bindingResult);
1092
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1097
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out discarded, diagnostics, syntax, basesBeingResolved));
1103
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, out AliasSymbol alias, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1107
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out alias, diagnostics, syntax, basesBeingResolved));
1584
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindQualifiedName(
1606
var
right = this.BindSimpleNamespaceOrTypeOrAliasSymbol(rightName, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics, left);
1619
NamespaceOrTypeOrAliasSymbolWithAnnotations
convertToUnboundGenericType()
Symbols\AliasSymbol.cs (1)
410
var
annotatedNamespaceOrType = declarationBinder.BindNamespaceOrTypeSymbol(syntax, diagnostics, basesBeingResolved);