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