1 instantiation of AggregateSymbol
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymFactory.cs (1)
24sym = new AggregateSymbol();
137 references to AggregateSymbol
Microsoft.CSharp (137)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (3)
132if (pctx != null && !pctx.IsNop && parent is AggregateSymbol agg && 0 != agg.GetTypeVarsAll().Count) 322string text = PredefinedTypes.GetNiceName(sym as AggregateSymbol); 332ErrAppendTypeParameters(((AggregateSymbol)sym).GetTypeVars(), pctx);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
27AggregateSymbol 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)
702AggregateSymbol aggCur = atsCur.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (6)
103AggregateSymbol aggSrc = atSrc.OwningAggregate; 104AggregateSymbol aggDest = atDst.OwningAggregate; 141AggregateSymbol aggIList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_ILIST); 142AggregateSymbol aggIReadOnlyList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST); 172AggregateSymbol aggIList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_ILIST); 173AggregateSymbol aggIReadOnlyList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST);
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (9)
244AggregateSymbol aggIList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_ILIST); 245AggregateSymbol aggIReadOnlyList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST); 285AggregateSymbol aggIList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_ILIST); 286AggregateSymbol aggIReadOnlyList = SymbolLoader.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST); 420AggregateSymbol aggDest = aggTypeDest.OwningAggregate; 554AggregateSymbol aggDest = aggTypeDest.OwningAggregate; 611AggregateSymbol aggDest = aggTypeDest.OwningAggregate; 686AggregateSymbol aggSrc = atSrc.OwningAggregate; 687AggregateSymbol aggDest = aggTypeDest.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (4)
948Debug.Assert(swt.GetType() != null && swt.GetType().OwningAggregate == swt.Sym.parent as AggregateSymbol); 999AggregateSymbol aggCalled = swt.Sym.parent as AggregateSymbol; 1619private AggregateSymbol ContextForMemberLookup => Context.ContextForMemberLookup;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (3)
555AggregateSymbol agg = SymbolLoader.GetPredefAgg(PredefinedType.PT_MISSING); 615for (AggregateSymbol pAggregate = agg.OwningAggregate; 647Debug.Assert(method.parent is AggregateSymbol);
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (2)
543AggregateSymbol aggSrc = aggTypeSrc.OwningAggregate; 670AggregateSymbol aggSrc = aggTypeSrc.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (2)
117Debug.Assert(!(symCur is AggregateSymbol)); 646Debug.Assert(!(_swtBadArity.Sym is AggregateSymbol));
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookupResults.cs (1)
31CType qualifyingType, AggregateSymbol context, int arity, EXPRFLAG flags, symbmask_t mask, ArgInfos nonTrailingNamedArguments) =>
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (2)
16private readonly AggregateSymbol _context; 27public 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)
2729AggregateSymbol agg = methSym.getClass(); 2744AggregateSymbol pAgg = methSym.getClass();
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (4)
228private static AggregateSymbol GetPredefAgg(PredefinedType pt) => SymbolLoader.GetPredefAgg(pt); 254AggregateSymbol agg = GetPredefAgg((PredefinedType)current); 321AggregateSymbol type, 353private 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)
174AggregateSymbol aggWhere = null; 178if (symT is AggregateSymbol aggSym) 193AggregateSymbol aggCheck = symCheck.parent as AggregateSymbol; 196for (AggregateSymbol agg = aggWhere; agg != null; agg = agg.GetOuterAgg()) 226for (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)
13public static AggregateSymbol GetPredefAgg(PredefinedType pt) => TypeManager.GetPredefAgg(pt); 18public static Symbol LookupAggMember(Name name, AggregateSymbol agg, symbmask_t mask) => SymbolStore.LookupSym(name, agg, mask); 147AggregateSymbol aggDest = atsDest.OwningAggregate; 357AggregateSymbol pAggSym = pSource.OwningAggregate; 484public static bool IsBaseAggregate(AggregateSymbol derived, AggregateSymbol @base)
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\TypeBind.cs (1)
279AggregateSymbol 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]; 18private static AggregateSymbol DelayLoadPredefSym(PredefinedType pt) 21AggregateSymbol sym = type.OwningAggregate; 25internal static AggregateSymbol InitializePredefinedType(AggregateSymbol sym, PredefinedType pt) 35public static AggregateSymbol GetPredefinedAggregate(PredefinedType pt) => 45public static string GetNiceName(AggregateSymbol type) =>
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (9)
89public static AggregateType GetAggregate(AggregateSymbol agg, AggregateType atsOuter, TypeArray typeArgs) 113public static AggregateType GetAggregate(AggregateSymbol agg, TypeArray typeArgsAll) 120AggregateSymbol aggOuter = agg.GetOuterAgg(); 180public static AggregateSymbol GetNullable() => GetPredefAgg(PredefinedType.PT_G_OPTIONAL); 547public static AggregateSymbol GetPredefAgg(PredefinedType pt) => PredefinedTypes.GetPredefinedAggregate(pt); 587internal static CType GetBestAccessibleType(AggregateSymbol context, CType typeSrc) 664private static bool TryVarianceAdjustmentToGetAccessibleType(AggregateSymbol context, AggregateType typeSrc, out CType typeDst) 671AggregateSymbol aggSym = typeSrc.OwningAggregate; 725private 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)
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;