4 types derived from Symbol
Microsoft.CSharp (4)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\EventSymbol.cs (1)
18internal sealed class EventSymbol : Symbol
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\ParentSymbol.cs (1)
14internal abstract class ParentSymbol : Symbol
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\TypeParameterSymbol.cs (1)
8internal sealed class TypeParameterSymbol : Symbol
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\VariableSymbol.cs (1)
15internal abstract class VariableSymbol : Symbol
59 references to Symbol
Microsoft.CSharp (59)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (8)
39public Symbol sym; 45public Symbol sym; 57internal Symbol sym; 100public ErrArg(Symbol pSym) 105private ErrArg(Symbol pSym, ErrArgFlags eaf) 144public static implicit operator ErrArg(Symbol pSym) 160public ErrArgRefOnly(Symbol sym) 180public ErrArgSymKind(Symbol sym)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorHandling.cs (2)
73Symbol sym = null; 117Symbol sym2 = null;
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (4)
120private void ErrAppendParentSym(Symbol sym, SubstContext pctx) 125private void ErrAppendParentCore(Symbol parent, SubstContext pctx) 309private void ErrAppendSym(Symbol sym, SubstContext pctx) 314private void ErrAppendSym(Symbol sym, SubstContext pctx, bool fArgs)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1012Symbol pSym = swt.Sym;
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (3)
68private void RecordType(AggregateType type, Symbol sym) 112Symbol symCur; 311private static bool IsDynamicMember(Symbol sym)
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (1)
355for (Symbol sym = SymbolLoader.LookupAggMember(methodName, type, symbmask_t.MASK_ALL);
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (10)
33public static ACCESSERROR CheckAccess2(Symbol symCheck, AggregateType atsCheck, Symbol symWhere, CType typeThru) 83public static bool CheckTypeAccess(CType type, Symbol symWhere) 117private static ACCESSERROR CheckAccessCore(Symbol symCheck, AggregateType atsCheck, Symbol symWhere, CType typeThru) 176for (Symbol symT = symWhere; symT != null; symT = symT.parent) 251public static bool CheckBogus(Symbol sym) => (sym as PropertySymbol)?.Bogus ?? false; 254public static RuntimeBinderException ReportAccessError(SymWithType swtBad, Symbol symWhere, CType typeQual) 266public static bool CheckAccess(Symbol symCheck, AggregateType atsCheck, Symbol symWhere, CType typeThru) =>
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\ParentSymbol.cs (4)
16public Symbol firstChild; // List of all children of this symbol 17private Symbol _lastChild; 22public void AddToChildList(Symbol sym) 44Symbol psym;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\Symbol.cs (5)
67public Symbol nextChild; // next child of this parent 68public Symbol nextSameName; // next child of this parent with same name. 70public Symbol LookupNext(symbmask_t kindmask) 73for (Symbol sym = nextSameName; sym != null; sym = sym.nextSameName) 197public bool SameAssemOrFriend(Symbol sym)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (1)
18public static Symbol LookupAggMember(Name name, AggregateSymbol agg, symbmask_t mask) => SymbolStore.LookupSym(name, agg, mask);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (9)
18private static readonly Dictionary<Key, Symbol> s_dictionary = new Dictionary<Key, Symbol>(); 20public static Symbol LookupSym(Name name, ParentSymbol parent, symbmask_t kindmask) 23return s_dictionary.TryGetValue(new Key(name, parent), out Symbol sym) ? FindCorrectKind(sym, kindmask) : null; 26public static void InsertChild(ParentSymbol parent, Symbol child) 36private static void InsertChildNoGrow(Symbol child) 46if (s_dictionary.TryGetValue(new Key(child.name, child.parent), out Symbol sym)) 63private static Symbol FindCorrectKind(Symbol sym, symbmask_t kindmask)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymFactory.cs (2)
11private static Symbol NewBasicSymbol( 16Symbol sym;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (1)
806for (Symbol sym = anonmeth.ArgumentScope.firstChild; sym != null; sym = sym.nextChild)
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (2)
140private static bool CheckConstraintsCore(Symbol symErr, TypeArray typeVars, TypeArray typeArgs, TypeArray typeArgsCls, TypeArray typeArgsMeth, CheckConstraintsFlags flags) 162private static bool CheckSingleConstraint(Symbol symErr, TypeParameterType var, CType arg, TypeArray typeArgsCls, TypeArray typeArgsMeth, CheckConstraintsFlags flags)
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (4)
26private Symbol _sym; 32public SymWithType(Symbol sym, AggregateType ats) 48public Symbol Sym 127public void Set(Symbol sym, AggregateType ats)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (2)
501for (Symbol sym = parent.firstChild; sym != null; sym = sym.nextChild) 780private static AggregateSymbol FindSymForType(Symbol sym, Type t)