14 references to Symbol
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.NamespaceOrTypeOrAliasSymbolWithAnnotations.cs (1)
40
internal NamespaceOrTypeSymbol NamespaceOrTypeSymbol =>
Symbol
as NamespaceOrTypeSymbol;
Binder\Binder_Expressions.cs (1)
2417
return CreateBoundNamespaceOrTypeExpression(node, symbol.
Symbol
);
Binder\Binder_Patterns.cs (1)
1331
Symbol foundSymbol = BindTypeOrAliasOrKeyword(node.VarKeyword, node, diagnostics, out bool isVar).
Symbol
;
Binder\Binder_Symbols.cs (7)
328
(symbol.IsAlias && UnwrapAliasNoDiagnostics(symbol.
Symbol
, basesBeingResolved) is TypeSymbol))
340
var diagnosticInfo = diagnostics.Add(ErrorCode.ERR_BadSKknown, syntax.Location, syntax, symbol.
Symbol
.GetKindText(), MessageID.IDS_SK_TYPE.Localize());
341
return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(GetContainingNamespaceOrType(symbol.
Symbol
), symbol.
Symbol
, LookupResultKind.NotATypeOrNamespace, diagnosticInfo));
1099
return NamespaceOrTypeOrAliasSymbolWithAnnotations.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.
Symbol
, out discarded, diagnostics, syntax, basesBeingResolved));
1109
return NamespaceOrTypeOrAliasSymbolWithAnnotations.CreateUnannotated(symbol.IsNullableEnabled, (NamespaceOrTypeSymbol)UnwrapAlias(symbol.
Symbol
, out alias, diagnostics, syntax, basesBeingResolved));
1620
var namedTypeRight = right.
Symbol
as NamedTypeSymbol;
Compilation\SyntaxTreeSemanticModel.cs (4)
353
return binder.BindTypeOrAlias(type, BindingDiagnosticBag.Discarded, basesBeingResolved).
Symbol
;
357
? binder.BindTypeOrAlias(type, BindingDiagnosticBag.Discarded, basesBeingResolved).
Symbol
385
return result ?? binder.BindTypeOrAlias(type, BindingDiagnosticBag.Discarded, basesBeingResolved).
Symbol
;
389
return binder.BindNamespaceOrTypeOrAliasSymbol(type, BindingDiagnosticBag.Discarded, basesBeingResolved, basesBeingResolved != null).
Symbol
;