Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymFactory.cs (8)
85public static AggregateSymbol CreateAggregate(Name name, NamespaceOrAggregateSymbol parent)
90AggregateSymbol sym = (AggregateSymbol)NewBasicSymbol(SYMKIND.SK_AggregateSymbol, name, parent);
102public static FieldSymbol CreateMemberVar(Name name, AggregateSymbol parent)
122public static MethodSymbol CreateMethod(Name name, AggregateSymbol parent) =>
125public static PropertySymbol CreateProperty(Name name, AggregateSymbol parent)
132public static EventSymbol CreateEvent(Name name, AggregateSymbol parent)
152public 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)
177AggregateSymbol aggregate = aggType.OwningAggregate;
327private static TypeArray GetAggregateTypeParameters(Type type, AggregateSymbol agg)
385private static TypeParameterType LoadClassTypeParameter(AggregateSymbol parent, Type t)
387for (AggregateSymbol p = parent; p != null; p = p.parent as AggregateSymbol)
519AggregateSymbol agg,
599AggregateSymbol next = FindSymForType(
630return ProcessMethodTypeParameter(m, declarationChain[++i] as Type, current as AggregateSymbol);
646private static TypeParameterType ProcessMethodTypeParameter(MethodInfo methinfo, Type t, AggregateSymbol parent)
666private static CType GetConstructedType(Type type, AggregateSymbol agg)
693AggregateSymbol agg = parent as AggregateSymbol;
780private static AggregateSymbol FindSymForType(Symbol sym, Type t)
785if (sym is AggregateSymbol agg)
842private static AggregateSymbol AddAggregateToSymbolTable(
846AggregateSymbol agg = SymFactory.CreateAggregate(GetName(type), parent);
995private static void SetInterfacesOnAggregate(AggregateSymbol aggregate, Type type)
1020private static FieldSymbol AddFieldToSymbolTable(FieldInfo fieldInfo, AggregateSymbol aggregate)
1075private static void AddEventToSymbolTable(EventInfo eventInfo, AggregateSymbol aggregate, FieldSymbol addedField)
1133internal static void AddPredefinedPropertyToSymbolTable(AggregateSymbol type, Name property)
1150private static void AddPropertyToSymbolTable(PropertyInfo property, AggregateSymbol aggregate)
1300internal static void AddPredefinedMethodToSymbolTable(AggregateSymbol type, Name methodName)
1335private static MethodSymbol AddMethodToSymbolTable(MethodBase member, AggregateSymbol callingAggregate, MethodKindEnum kind)
1592private static MethodSymbol FindMatchingMethod(MemberInfo method, AggregateSymbol callingAggregate)
1695AggregateSymbol aggregate = ((AggregateType)GetCTypeFromType(baseMethodInfo.DeclaringType)).OwningAggregate;
1711AggregateSymbol aggregate = ((AggregateType)t).OwningAggregate;
1728internal static bool AggregateContainsMethod(AggregateSymbol agg, string szName, symbmask_t mask) =>
1788AggregateSymbol aggregate = ((AggregateType)t).OwningAggregate;