2 overrides of Target
Microsoft.CodeAnalysis.CSharp (2)
Symbols\AliasSymbol.cs (2)
303public override NamespaceOrTypeSymbol Target 446public override NamespaceOrTypeSymbol Target
12 references to Target
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (3)
2186return alias.Target switch 2190_ => throw ExceptionUtilities.UnexpectedValue(alias.Target.Kind), 2432symbol = alias.Target;
Binder\Binder_Symbols.cs (2)
580NamespaceOrTypeSymbol left = bindingResult is AliasSymbol alias ? alias.Target : (NamespaceOrTypeSymbol)bindingResult; 961if (((AliasSymbol)s).Target.Kind == SymbolKind.NamedType) return true;
Binder\ImportChain.cs (1)
109NamespaceOrTypeSymbol target = symbol.Target;
Binder\Semantics\AccessCheck.cs (1)
161return IsSymbolAccessibleCore(((AliasSymbol)symbol).Target, within, null, out failedThroughTypeCheck, compilation, ref useSiteInfo, basesBeingResolved);
Compilation\CSharpSemanticModel.cs (1)
2360return symbol is AliasSymbol aliasSym ? aliasSym.Target : symbol;
Symbols\AliasSymbol.cs (2)
82var previousTarget = Target; 234var target = this.Target as TypeSymbol;
Symbols\PublicModel\AliasSymbol.cs (1)
25return _underlying.Target.GetPublicSymbol();
Symbols\SymbolExtensions.cs (1)
279return IsTypeOrTypeAlias(((AliasSymbol)symbol).Target);