1 instantiation of AggregateSymbol
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymFactory.cs (1)
26sym = new AggregateSymbol();
137 references to AggregateSymbol
Microsoft.CSharp (137)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (3)
136if (pctx != null && !pctx.IsNop && parent is AggregateSymbol agg && 0 != agg.GetTypeVarsAll().Count) 333string text = PredefinedTypes.GetNiceName(sym as AggregateSymbol); 343ErrAppendTypeParameters(((AggregateSymbol)sym).GetTypeVars(), pctx);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
28AggregateSymbol context;
Microsoft\CSharp\RuntimeBinder\Semantics\BindingContext.cs (2)
13public BindingContext(AggregateSymbol context, bool isChecked) 26public AggregateSymbol ContextForMemberLookup { get; }
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
729AggregateSymbol aggCur = atsCur.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (6)
105AggregateSymbol aggSrc = atSrc.OwningAggregate; 106AggregateSymbol aggDest = atDst.OwningAggregate; 143AggregateSymbol aggIList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_ILIST); 144AggregateSymbol aggIReadOnlyList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST); 174AggregateSymbol aggIList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_ILIST); 175AggregateSymbol aggIReadOnlyList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST);
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (9)
245AggregateSymbol aggIList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_ILIST); 246AggregateSymbol aggIReadOnlyList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST); 286AggregateSymbol aggIList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_ILIST); 287AggregateSymbol aggIReadOnlyList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST); 421AggregateSymbol aggDest = aggTypeDest.OwningAggregate; 555AggregateSymbol aggDest = aggTypeDest.OwningAggregate; 613AggregateSymbol aggDest = aggTypeDest.OwningAggregate; 688AggregateSymbol aggSrc = atSrc.OwningAggregate; 689AggregateSymbol aggDest = aggTypeDest.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (4)
971Debug.Assert(swt.GetType() != null && swt.GetType().OwningAggregate == swt.Sym.parent as AggregateSymbol); 1022AggregateSymbol aggCalled = swt.Sym.parent as AggregateSymbol; 1648private AggregateSymbol ContextForMemberLookup => Context.ContextForMemberLookup;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (3)
556AggregateSymbol agg = SymbolLoader.GetPredefAgg(PredefinedType.PT_MISSING); 616for (AggregateSymbol pAggregate = agg.OwningAggregate; 648Debug.Assert(method.parent is AggregateSymbol);
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (2)
545AggregateSymbol aggSrc = aggTypeSrc.OwningAggregate; 673AggregateSymbol aggSrc = aggTypeSrc.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (2)
118Debug.Assert(!(symCur is AggregateSymbol)); 647Debug.Assert(!(_swtBadArity.Sym is AggregateSymbol));
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookupResults.cs (1)
33CType qualifyingType, AggregateSymbol context, int arity, EXPRFLAG flags, symbmask_t mask, ArgInfos nonTrailingNamedArguments) =>
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (2)
17private readonly AggregateSymbol _context; 28public CMethodIterator(Name name, TypeArray containingTypes, CType qualifyingType, AggregateSymbol context, int arity, EXPRFLAG flags, symbmask_t mask, ArgInfos nonTrailingNamedArguments)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
2796AggregateSymbol agg = methSym.getClass(); 2812AggregateSymbol pAgg = methSym.getClass();
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (4)
231private static AggregateSymbol GetPredefAgg(PredefinedType pt) => SymbolLoader.GetPredefAgg(pt); 258AggregateSymbol agg = GetPredefAgg((PredefinedType)current); 329AggregateSymbol type, 362private static MethodSymbol LookupMethodWhileLoading(AggregateSymbol type, int cMethodTyVars, Name methodName, ACCESS methodAccess, bool isStatic, bool isVirtual, CType returnType, TypeArray argumentTypes)
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (6)
178AggregateSymbol aggWhere = null; 182if (symT is AggregateSymbol aggSym) 197AggregateSymbol aggCheck = symCheck.parent as AggregateSymbol; 200for (AggregateSymbol agg = aggWhere; agg != null; agg = agg.GetOuterAgg()) 230for (AggregateSymbol agg = aggWhere; agg != null; agg = agg.GetOuterAgg())
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\AggregateSymbol.cs (6)
77public AggregateSymbol GetBaseAgg() 97public bool FindBaseAgg(AggregateSymbol agg) 99for (AggregateSymbol aggT = this; aggT != null; aggT = aggT.GetBaseAgg()) 109public bool isNested() => parent is AggregateSymbol; 111public AggregateSymbol GetOuterAgg() => parent as AggregateSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\FieldSymbol.cs (2)
37public AggregateSymbol getClass() => parent as AggregateSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\MethodOrPropertySymbol.cs (2)
179public AggregateSymbol getClass() => parent as AggregateSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\Symbol.cs (5)
149return this is AggregateSymbol; 162return ((AggregateSymbol)parent).AssociatedAssembly; 165return ((AggregateSymbol)this).AssociatedAssembly; 186return ((AggregateSymbol)parent).InternalsVisibleTo(assembly); 189return ((AggregateSymbol)this).InternalsVisibleTo(assembly);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (6)
14public static AggregateSymbol GetPredefAgg(PredefinedType pt) => TypeManager.GetPredefAgg(pt); 20public static Symbol LookupAggMember(Name name, AggregateSymbol agg, symbmask_t mask) => SymbolStore.LookupSym(name, agg, mask); 155AggregateSymbol aggDest = atsDest.OwningAggregate; 370AggregateSymbol pAggSym = pSource.OwningAggregate; 499public static bool IsBaseAggregate(AggregateSymbol derived, AggregateSymbol @base)
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\TypeBind.cs (1)
283AggregateSymbol agg = ((AggregateType)arg).OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (9)
26public AggregateType(AggregateSymbol parent, TypeArray typeArgsThis, AggregateType outerType) 75public AggregateSymbol OwningAggregate { get; } 229AggregateSymbol agg = OwningAggregate; 239AggregateSymbol agg = OwningAggregate; 248AggregateSymbol agg = OwningAggregate; 257AggregateSymbol agg = OwningAggregate; 272AggregateSymbol agg = OwningAggregate; 281AggregateSymbol agg = OwningAggregate; 347AggregateSymbol sym = OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (8)
14private static readonly AggregateSymbol[] s_predefSymbols = new AggregateSymbol[(int)PredefinedType.PT_COUNT]; 19private static AggregateSymbol DelayLoadPredefSym(PredefinedType pt) 22AggregateSymbol sym = type.OwningAggregate; 26internal static AggregateSymbol InitializePredefinedType(AggregateSymbol sym, PredefinedType pt) 37public static AggregateSymbol GetPredefinedAggregate(PredefinedType pt) => 47public static string GetNiceName(AggregateSymbol type) =>
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (9)
91public static AggregateType GetAggregate(AggregateSymbol agg, AggregateType atsOuter, TypeArray typeArgs) 116public static AggregateType GetAggregate(AggregateSymbol agg, TypeArray typeArgsAll) 123AggregateSymbol aggOuter = agg.GetOuterAgg(); 186public static AggregateSymbol GetNullable() => GetPredefAgg(PredefinedType.PT_G_OPTIONAL); 563public static AggregateSymbol GetPredefAgg(PredefinedType pt) => PredefinedTypes.GetPredefinedAggregate(pt); 613internal static CType GetBestAccessibleType(AggregateSymbol context, CType typeSrc) 691private static bool TryVarianceAdjustmentToGetAccessibleType(AggregateSymbol context, AggregateType typeSrc, out CType typeDst) 698AggregateSymbol aggSym = typeSrc.OwningAggregate; 753private static bool TryArrayVarianceAdjustmentToGetAccessibleType(AggregateSymbol context, ArrayType typeSrc, out CType typeDst)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeParameterType.cs (1)
64: ((AggregateSymbol)OwningSymbol).AssociatedSystemType.GetGenericArguments()
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;