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)
2523
var
symbol = this.BindNamespaceOrTypeOrAliasSymbol(node, diagnostics, null, false);
Binder\Binder_Symbols.cs (35)
41
var
symbol = BindTypeOrAliasOrVarKeyword(syntax, diagnostics, out isVar);
61
var
symbol = BindTypeOrAliasOrConstraintKeyword(syntax, diagnostics, out keyword);
82
var
symbol = BindTypeOrAliasOrVarKeyword(syntax, diagnostics, out isVar);
109
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrVarKeyword(TypeSyntax syntax, BindingDiagnosticBag diagnostics, out bool isVar)
113
var
symbol = BindTypeOrAliasOrKeyword((IdentifierNameSyntax)syntax, diagnostics, out isVar);
136
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrConstraintKeyword(TypeSyntax syntax, BindingDiagnosticBag diagnostics, out ConstraintContextualKeyword keyword)
154
var
symbol = BindTypeOrAliasOrKeyword(identifierSyntax, diagnostics, out bool isKeyword);
189
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrKeyword(IdentifierNameSyntax syntax, BindingDiagnosticBag diagnostics, out bool isKeyword)
194
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAliasOrKeyword(SyntaxToken identifier, SyntaxNode syntax, BindingDiagnosticBag diagnostics, out bool isKeyword)
298
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(identifier), symbol);
306
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
315
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved);
322
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAlias(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null, bool suppressUseSiteDiagnostics = false)
326
var
symbol = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, basesBeingResolved != null || suppressUseSiteDiagnostics);
385
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null)
395
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
397
var
result = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
418
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeOrAliasSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
547
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindNullable()
577
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPredefined()
584
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindAlias()
600
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPointer()
614
NamespaceOrTypeOrAliasSymbolWithAnnotations
createErrorType()
827
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindSimpleNamespaceOrTypeOrAliasSymbol(
854
protected
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNonGenericSimpleNamespaceOrTypeOrAliasSymbol(
937
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(node.Identifier), bindingResult);
1104
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1109
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out discarded, diagnostics, syntax, basesBeingResolved));
1115
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, out AliasSymbol alias, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1119
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out alias, diagnostics, syntax, basesBeingResolved));
1661
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindQualifiedName(
1683
var
right = this.BindSimpleNamespaceOrTypeOrAliasSymbol(rightName, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics, left);
1696
NamespaceOrTypeOrAliasSymbolWithAnnotations
convertToUnboundGenericType()
Symbols\AliasSymbol.cs (1)
405
var
annotatedNamespaceOrType = declarationBinder.BindNamespaceOrTypeSymbol(syntax, diagnostics, basesBeingResolved);