2 writes to _symbol
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.NamespaceOrTypeOrAliasSymbolWithAnnotations.cs (2)
24
_symbol
= null;
32
_symbol
= symbol;
4 references to _symbol
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.NamespaceOrTypeOrAliasSymbolWithAnnotations.cs (4)
37
internal Symbol Symbol =>
_symbol
?? TypeWithAnnotations.Type;
39
internal bool IsAlias =>
_symbol
?.Kind == SymbolKind.Alias;
41
internal bool IsDefault => !_typeWithAnnotations.HasType &&
_symbol
is null;
47
Debug.Assert(
_symbol
?.Kind == SymbolKind.Alias); // Not meaningful to use this property otherwise