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)
2478
var
symbol = this.BindNamespaceOrTypeOrAliasSymbol(node, diagnostics, null, false);
Binder\Binder_Symbols.cs (35)
40
var
symbol = BindTypeOrAliasOrVarKeyword(syntax, diagnostics, out isVar);
60
var
symbol = BindTypeOrAliasOrConstraintKeyword(syntax, diagnostics, out keyword);
81
var
symbol = BindTypeOrAliasOrVarKeyword(syntax, diagnostics, out isVar);
108
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrVarKeyword(TypeSyntax syntax, BindingDiagnosticBag diagnostics, out bool isVar)
112
var
symbol = BindTypeOrAliasOrKeyword((IdentifierNameSyntax)syntax, diagnostics, out isVar);
135
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrConstraintKeyword(TypeSyntax syntax, BindingDiagnosticBag diagnostics, out ConstraintContextualKeyword keyword)
153
var
symbol = BindTypeOrAliasOrKeyword(identifierSyntax, diagnostics, out bool isKeyword);
188
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrKeyword(IdentifierNameSyntax syntax, BindingDiagnosticBag diagnostics, out bool isKeyword)
193
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrKeyword(SyntaxToken identifier, SyntaxNode syntax, BindingDiagnosticBag diagnostics, out bool isKeyword)
297
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(identifier), symbol);
305
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
314
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved);
321
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAlias(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null, bool suppressUseSiteDiagnostics = false)
325
var
symbol = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, basesBeingResolved != null || suppressUseSiteDiagnostics);
384
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null)
394
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
396
var
result = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
417
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeOrAliasSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
546
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindNullable()
576
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPredefined()
583
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindAlias()
599
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPointer()
613
NamespaceOrTypeOrAliasSymbolWithAnnotations
createErrorType()
826
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindSimpleNamespaceOrTypeOrAliasSymbol(
853
protected
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNonGenericSimpleNamespaceOrTypeOrAliasSymbol(
936
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(node.Identifier), bindingResult);
1103
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1108
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out discarded, diagnostics, syntax, basesBeingResolved));
1114
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, out AliasSymbol alias, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1118
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out alias, diagnostics, syntax, basesBeingResolved));
1650
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindQualifiedName(
1672
var
right = this.BindSimpleNamespaceOrTypeOrAliasSymbol(rightName, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics, left);
1685
NamespaceOrTypeOrAliasSymbolWithAnnotations
convertToUnboundGenericType()
Symbols\AliasSymbol.cs (1)
405
var
annotatedNamespaceOrType = declarationBinder.BindNamespaceOrTypeSymbol(syntax, diagnostics, basesBeingResolved);