1 write to OwningAggregate
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
32OwningAggregate = parent;
127 references to OwningAggregate
Microsoft.CSharp (127)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (3)
418string text = PredefinedTypes.GetNiceName(pAggType.OwningAggregate); 434ErrAppendParentSym(pAggType.OwningAggregate, null); 437ErrAppendName(pAggType.OwningAggregate.name);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
33context = ((AggregateType)SymbolTable.GetCTypeFromType(contextType)).OwningAggregate; 586if (SymbolTable.AggregateContainsMethod(t.OwningAggregate, Name, mask) && distinctCallingTypes.Add(t))
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (4)
685if (typeSrcBase is AggregateType atSrcBase && atSrcBase.OwningAggregate.HasConversion()) 694if (atDstBase.OwningAggregate.HasConversion()) 727for (AggregateType atsCur = rgats[iats]; atsCur != null && atsCur.OwningAggregate.HasConversion(); atsCur = atsCur.BaseClass) 729AggregateSymbol aggCur = atsCur.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (9)
105AggregateSymbol aggSrc = atSrc.OwningAggregate; 106AggregateSymbol aggDest = atDst.OwningAggregate; 147!SymbolLoader.IsBaseAggregate(aggIList, aggDst.OwningAggregate)) && 149!SymbolLoader.IsBaseAggregate(aggIReadOnlyList, aggDst.OwningAggregate))) 178!SymbolLoader.IsBaseAggregate(aggIList, aggtypeSrc.OwningAggregate)) && 180!SymbolLoader.IsBaseAggregate(aggIReadOnlyList, aggtypeSrc.OwningAggregate))) 235aggSrc.OwningAggregate != pTarget.OwningAggregate || 241TypeArray pTypeParams = aggSrc.OwningAggregate.GetTypeVarsAll();
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (9)
249!SymbolLoader.IsBaseAggregate(aggIList, aggDest.OwningAggregate)) && 251!SymbolLoader.IsBaseAggregate(aggIReadOnlyList, aggDest.OwningAggregate))) 290!SymbolLoader.IsBaseAggregate(aggIList, aggSrc.OwningAggregate)) && 292!SymbolLoader.IsBaseAggregate(aggIReadOnlyList, aggSrc.OwningAggregate))) 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 (6)
447Debug.Assert(fwt.GetType() != null && fwt.Field().getClass() == fwt.GetType().OwningAggregate); 476pwt.Prop().getClass() == pwt.GetType().OwningAggregate); 563if (!typeSrc.IsClassType && !typeSrc.IsStructType || ((AggregateType)typeSrc).OwningAggregate.IsSkipUDOps()) 583? SymbolLoader.LookupAggMember(pName, atsCur.OwningAggregate, symbmask_t.MASK_MethodSymbol) 971Debug.Assert(swt.GetType() != null && swt.GetType().OwningAggregate == swt.Sym.parent as AggregateSymbol); 1023Debug.Assert(swt.GetType().OwningAggregate == aggCalled);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (5)
616for (AggregateSymbol pAggregate = agg.OwningAggregate; 1157Debug.Assert(!_results.BestResult || _results.BestResult.GetType().OwningAggregate.IsDelegate()); 1159nameErr = ((AggregateType)_pGroup.OptionalObject.Type).OwningAggregate.name; 1198return _pGroup.OptionalObject?.Type is AggregateType agg && agg.OwningAggregate.IsDelegate() 1200ErrorCode.ERR_BadNamedArgumentForDelegateInvoke, agg.OwningAggregate.name,
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (4)
545AggregateSymbol aggSrc = aggTypeSrc.OwningAggregate; 589if (pSource.OwningAggregate.IsStruct() && _typeDest.FundamentalType == FUNDTYPE.FT_REF) 648aggTypeSrc.OwningAggregate.GetPredefType() != PredefinedType.PT_BOOL && 673AggregateSymbol aggSrc = aggTypeSrc.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (3)
114for (symCur = SymbolLoader.LookupAggMember(_name, typeCur.OwningAggregate, symbmask_t.MASK_Member); 620? ErrorHandling.Error(ErrorCode.ERR_BadCtorArgCount, ((AggregateType)_typeSrc).OwningAggregate, _arity) 621: ErrorHandling.Error(ErrorCode.ERR_NoConstructors, ((AggregateType)_typeSrc).OwningAggregate);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (1)
129? SymbolLoader.LookupAggMember(_name, CurrentType.OwningAggregate, _mask)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (22)
857|| pConstructedSource.OwningAggregate != pConstructedDest.OwningAggregate) 874Debug.Assert(pSource.OwningAggregate == pDest.OwningAggregate); 1093if (pSource is AggregateType aggSource && aggSource.OwningAggregate == pConstructedDest.OwningAggregate) 1161if (pSourceBase.OwningAggregate == pDest.OwningAggregate) 1197if (current.OwningAggregate == pDest.OwningAggregate) 1236Debug.Assert(pSource.OwningAggregate == pDest.OwningAggregate); 1238TypeArray pTypeParams = pSource.OwningAggregate.GetTypeVarsAll(); 1419if (pDest is AggregateType aggDest && pConstructedSource.OwningAggregate == aggDest.OwningAggregate) 1472if (pDestBase.OwningAggregate == pSource.OwningAggregate) 1504if (current.OwningAggregate == pSource.OwningAggregate) 1543Debug.Assert(pSource.OwningAggregate == pDest.OwningAggregate); 1545TypeArray pTypeParams = pSource.OwningAggregate.GetTypeVarsAll();
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (4)
1350((AggregateType)pArgumentType).OwningAggregate.GetUnderlyingType(), 1360((AggregateType)pArgumentType).OwningAggregate.GetUnderlyingType(), 2434if (type is AggregateType ats && (ats.IsClassType || ats.IsStructType) && !ats.OwningAggregate.IsSkipUDOps()) 2556for (MethodSymbol methCur = SymbolLoader.LookupAggMember(name, type.OwningAggregate, symbmask_t.MASK_MethodSymbol) as MethodSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (4)
38Debug.Assert(atsCheck == null || symCheck.parent == atsCheck.OwningAggregate); 101if (ACCESSERROR.ACCESSERROR_NOERROR != CheckAccessCore(ats.OwningAggregate, ats.OuterType, symWhere, null)) 124Debug.Assert(atsCheck == null || symCheck.parent == atsCheck.OwningAggregate); 243if (atsThru == null || atsThru.OwningAggregate.FindBaseAgg(agg))
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\AggregateSymbol.cs (1)
79return _pBaseClass?.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (7)
155AggregateSymbol aggDest = atsDest.OwningAggregate; 189switch (aggSource.OwningAggregate.AggKind()) 192switch (aggDest.OwningAggregate.AggKind()) 370AggregateSymbol pAggSym = pSource.OwningAggregate; 371if (pAggSym != pDest.OwningAggregate) 517if (iface.OwningAggregate == @base) 533derived = derived.GetBaseClass().OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (3)
994|| !fat1.OwningAggregate.IsValueType() 996|| !fat2.OwningAggregate.IsValueType()) 1019pType is NullableType && pType.StripNubs() is AggregateType agg && agg.OwningAggregate.IsValueType();
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (4)
76TypeArray typeVars = ats.OwningAggregate.GetTypeVars(); 95if (!CheckConstraintsCore(ats.OwningAggregate, typeVars, typeArgsThis, typeArgsAll, null, flags & CheckConstraintsFlags.NoErrors)) 129Debug.Assert(mwi.GetType().OwningAggregate == mwi.Meth().getClass()); 283AggregateSymbol agg = ((AggregateType)arg).OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (23)
156public TypeArray IfacesAll => _ifacesAll ??= TypeManager.SubstTypeArray(OwningAggregate.GetIfacesAll(), TypeArgsAll); 208public override bool IsReferenceType => OwningAggregate.IsRefType(); 212public override bool IsValueType => OwningAggregate.IsValueType(); 214public override bool IsStaticClass => OwningAggregate.IsStatic(); 216public override bool IsPredefined => OwningAggregate.IsPredefined(); 223return OwningAggregate.GetPredefType(); 229AggregateSymbol agg = OwningAggregate; 233public override bool IsDelegateType => OwningAggregate.IsDelegate(); 239AggregateSymbol agg = OwningAggregate; 248AggregateSymbol agg = OwningAggregate; 257AggregateSymbol agg = OwningAggregate; 272AggregateSymbol agg = OwningAggregate; 281AggregateSymbol agg = OwningAggregate; 286public override bool IsStructType => OwningAggregate.IsStruct(); 288public override bool IsEnumType => OwningAggregate.IsEnum(); 290public override bool IsInterfaceType => OwningAggregate.IsInterface(); 292public override bool IsClassType => OwningAggregate.IsClass(); 299return OwningAggregate.GetUnderlyingType(); 312Type uninstantiatedType = OwningAggregate.AssociatedSystemType; 347AggregateSymbol sym = OwningAggregate; 352sym = sym.GetUnderlyingType().OwningAggregate; 384OwningAggregate.IsEnum() && OwningAggregate.GetUnderlyingType().PredefinedType == PredefinedType.PT_DECIMAL
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
22AggregateSymbol sym = type.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (6)
93Debug.Assert(atsOuter == null || atsOuter.OwningAggregate == agg.Parent, ""); 108Debug.Assert(pAggregate.OwningAggregate == agg); 255return GetAggregate(type.OwningAggregate, typeArgs); 425if (atsSrc.OwningAggregate != atsDst.OwningAggregate) 698AggregateSymbol aggSym = typeSrc.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (2)
131Debug.Assert(ats == null || sym.parent == ats.OwningAggregate); 225Debug.Assert(ats == null || mps != null && mps.getClass() == ats.OwningAggregate);
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (4)
182AggregateSymbol aggregate = aggType.OwningAggregate; 1727AggregateSymbol aggregate = ((AggregateType)GetCTypeFromType(baseMethodInfo.DeclaringType)).OwningAggregate; 1744AggregateSymbol aggregate = ((AggregateType)t).OwningAggregate; 1823AggregateSymbol aggregate = ((AggregateType)t).OwningAggregate;