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)
2540
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)
299
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(identifier), symbol);
307
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
316
var
symbol = BindTypeOrAlias(syntax, diagnostics, basesBeingResolved);
323
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindTypeOrAlias(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null, bool suppressUseSiteDiagnostics = false)
327
var
symbol = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, basesBeingResolved != null || suppressUseSiteDiagnostics);
387
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null)
397
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
399
var
result = BindNamespaceOrTypeOrAliasSymbol(syntax, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
420
internal
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNamespaceOrTypeOrAliasSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
549
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindNullable()
579
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPredefined()
586
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindAlias()
602
NamespaceOrTypeOrAliasSymbolWithAnnotations
bindPointer()
616
NamespaceOrTypeOrAliasSymbolWithAnnotations
createErrorType()
829
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindSimpleNamespaceOrTypeOrAliasSymbol(
856
protected
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindNonGenericSimpleNamespaceOrTypeOrAliasSymbol(
939
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(AreNullableAnnotationsEnabled(node.Identifier), bindingResult);
1106
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1111
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out discarded, diagnostics, syntax, basesBeingResolved));
1117
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
UnwrapAlias(in
NamespaceOrTypeOrAliasSymbolWithAnnotations
symbol, out AliasSymbol alias, BindingDiagnosticBag diagnostics, SyntaxNode syntax, ConsList<TypeSymbol> basesBeingResolved = null)
1121
return
NamespaceOrTypeOrAliasSymbolWithAnnotations
.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.Symbol, out alias, diagnostics, syntax, basesBeingResolved));
1664
private
NamespaceOrTypeOrAliasSymbolWithAnnotations
BindQualifiedName(
1687
var
right = this.BindSimpleNamespaceOrTypeOrAliasSymbol(rightName, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics, left);
1700
NamespaceOrTypeOrAliasSymbolWithAnnotations
convertToUnboundGenericType()
Symbols\AliasSymbol.cs (1)
407
var
annotatedNamespaceOrType = declarationBinder.BindNamespaceOrTypeSymbol(syntax, diagnostics, basesBeingResolved);