Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymFactory.cs (8)
89public static AggregateSymbol CreateAggregate(Name name, NamespaceOrAggregateSymbol parent)
94AggregateSymbol sym = (AggregateSymbol)NewBasicSymbol(SYMKIND.SK_AggregateSymbol, name, parent);
107public static FieldSymbol CreateMemberVar(Name name, AggregateSymbol parent)
129public static MethodSymbol CreateMethod(Name name, AggregateSymbol parent) =>
133public static PropertySymbol CreateProperty(Name name, AggregateSymbol parent)
141public static EventSymbol CreateEvent(Name name, AggregateSymbol parent)
163public static TypeParameterSymbol CreateClassTypeParameter(Name pName, AggregateSymbol pParent, int index, int indexTotal)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeTable.cs (4)
51private static readonly Dictionary<KeyPair<AggregateSymbol, KeyPair<AggregateType, TypeArray>>, AggregateType> s_aggregateTable =
52new Dictionary<KeyPair<AggregateSymbol, KeyPair<AggregateType, TypeArray>>, AggregateType>();
67public static AggregateType LookupAggregate(AggregateSymbol aggregate, AggregateType outer, TypeArray args)
74public static void InsertAggregate(AggregateSymbol aggregate, AggregateType outer, TypeArray args, AggregateType ats)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (28)
182AggregateSymbol aggregate = aggType.OwningAggregate;
335private static TypeArray GetAggregateTypeParameters(Type type, AggregateSymbol agg)
394private static TypeParameterType LoadClassTypeParameter(AggregateSymbol parent, Type t)
396for (AggregateSymbol p = parent; p != null; p = p.parent as AggregateSymbol)
530AggregateSymbol agg,
611AggregateSymbol next = FindSymForType(
642return ProcessMethodTypeParameter(m, declarationChain[++i] as Type, current as AggregateSymbol);
659private static TypeParameterType ProcessMethodTypeParameter(MethodInfo methinfo, Type t, AggregateSymbol parent)
680private static CType GetConstructedType(Type type, AggregateSymbol agg)
708AggregateSymbol agg = parent as AggregateSymbol;
796private static AggregateSymbol FindSymForType(Symbol sym, Type t)
801if (sym is AggregateSymbol agg)
862private static AggregateSymbol AddAggregateToSymbolTable(
866AggregateSymbol agg = SymFactory.CreateAggregate(GetName(type), parent);
1016private static void SetInterfacesOnAggregate(AggregateSymbol aggregate, Type type)
1042private static FieldSymbol AddFieldToSymbolTable(FieldInfo fieldInfo, AggregateSymbol aggregate)
1098private static void AddEventToSymbolTable(EventInfo eventInfo, AggregateSymbol aggregate, FieldSymbol addedField)
1157internal static void AddPredefinedPropertyToSymbolTable(AggregateSymbol type, Name property)
1175private static void AddPropertyToSymbolTable(PropertyInfo property, AggregateSymbol aggregate)
1326internal static void AddPredefinedMethodToSymbolTable(AggregateSymbol type, Name methodName)
1362private static MethodSymbol AddMethodToSymbolTable(MethodBase member, AggregateSymbol callingAggregate, MethodKindEnum kind)
1621private static MethodSymbol FindMatchingMethod(MemberInfo method, AggregateSymbol callingAggregate)
1727AggregateSymbol aggregate = ((AggregateType)GetCTypeFromType(baseMethodInfo.DeclaringType)).OwningAggregate;
1744AggregateSymbol aggregate = ((AggregateType)t).OwningAggregate;
1761internal static bool AggregateContainsMethod(AggregateSymbol agg, string szName, symbmask_t mask) =>
1823AggregateSymbol aggregate = ((AggregateType)t).OwningAggregate;