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)
406string text = PredefinedTypes.GetNiceName(pAggType.OwningAggregate); 422ErrAppendParentSym(pAggType.OwningAggregate, null); 425ErrAppendName(pAggType.OwningAggregate.name);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
32context = ((AggregateType)SymbolTable.GetCTypeFromType(contextType)).OwningAggregate; 570if (SymbolTable.AggregateContainsMethod(t.OwningAggregate, Name, mask) && distinctCallingTypes.Add(t))
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (4)
658if (typeSrcBase is AggregateType atSrcBase && atSrcBase.OwningAggregate.HasConversion()) 667if (atDstBase.OwningAggregate.HasConversion()) 700for (AggregateType atsCur = rgats[iats]; atsCur != null && atsCur.OwningAggregate.HasConversion(); atsCur = atsCur.BaseClass) 702AggregateSymbol aggCur = atsCur.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (9)
103AggregateSymbol aggSrc = atSrc.OwningAggregate; 104AggregateSymbol aggDest = atDst.OwningAggregate; 145!SymbolLoader.IsBaseAggregate(aggIList, aggDst.OwningAggregate)) && 147!SymbolLoader.IsBaseAggregate(aggIReadOnlyList, aggDst.OwningAggregate))) 176!SymbolLoader.IsBaseAggregate(aggIList, aggtypeSrc.OwningAggregate)) && 178!SymbolLoader.IsBaseAggregate(aggIReadOnlyList, aggtypeSrc.OwningAggregate))) 231aggSrc.OwningAggregate != pTarget.OwningAggregate || 237TypeArray pTypeParams = aggSrc.OwningAggregate.GetTypeVarsAll();
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (9)
248!SymbolLoader.IsBaseAggregate(aggIList, aggDest.OwningAggregate)) && 250!SymbolLoader.IsBaseAggregate(aggIReadOnlyList, aggDest.OwningAggregate))) 289!SymbolLoader.IsBaseAggregate(aggIList, aggSrc.OwningAggregate)) && 291!SymbolLoader.IsBaseAggregate(aggIReadOnlyList, aggSrc.OwningAggregate))) 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 (6)
437Debug.Assert(fwt.GetType() != null && fwt.Field().getClass() == fwt.GetType().OwningAggregate); 465pwt.Prop().getClass() == pwt.GetType().OwningAggregate); 551if (!typeSrc.IsClassType && !typeSrc.IsStructType || ((AggregateType)typeSrc).OwningAggregate.IsSkipUDOps()) 571? SymbolLoader.LookupAggMember(pName, atsCur.OwningAggregate, symbmask_t.MASK_MethodSymbol) 948Debug.Assert(swt.GetType() != null && swt.GetType().OwningAggregate == swt.Sym.parent as AggregateSymbol); 1000Debug.Assert(swt.GetType().OwningAggregate == aggCalled);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (5)
615for (AggregateSymbol pAggregate = agg.OwningAggregate; 1156Debug.Assert(!_results.BestResult || _results.BestResult.GetType().OwningAggregate.IsDelegate()); 1158nameErr = ((AggregateType)_pGroup.OptionalObject.Type).OwningAggregate.name; 1197return _pGroup.OptionalObject?.Type is AggregateType agg && agg.OwningAggregate.IsDelegate() 1199ErrorCode.ERR_BadNamedArgumentForDelegateInvoke, agg.OwningAggregate.name,
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (4)
543AggregateSymbol aggSrc = aggTypeSrc.OwningAggregate; 587if (pSource.OwningAggregate.IsStruct() && _typeDest.FundamentalType == FUNDTYPE.FT_REF) 646aggTypeSrc.OwningAggregate.GetPredefType() != PredefinedType.PT_BOOL && 670AggregateSymbol aggSrc = aggTypeSrc.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (3)
113for (symCur = SymbolLoader.LookupAggMember(_name, typeCur.OwningAggregate, symbmask_t.MASK_Member); 619? ErrorHandling.Error(ErrorCode.ERR_BadCtorArgCount, ((AggregateType)_typeSrc).OwningAggregate, _arity) 620: ErrorHandling.Error(ErrorCode.ERR_NoConstructors, ((AggregateType)_typeSrc).OwningAggregate);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (1)
128? SymbolLoader.LookupAggMember(_name, CurrentType.OwningAggregate, _mask)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (22)
856|| pConstructedSource.OwningAggregate != pConstructedDest.OwningAggregate) 873Debug.Assert(pSource.OwningAggregate == pDest.OwningAggregate); 1092if (pSource is AggregateType aggSource && aggSource.OwningAggregate == pConstructedDest.OwningAggregate) 1160if (pSourceBase.OwningAggregate == pDest.OwningAggregate) 1196if (current.OwningAggregate == pDest.OwningAggregate) 1235Debug.Assert(pSource.OwningAggregate == pDest.OwningAggregate); 1237TypeArray pTypeParams = pSource.OwningAggregate.GetTypeVarsAll(); 1418if (pDest is AggregateType aggDest && pConstructedSource.OwningAggregate == aggDest.OwningAggregate) 1471if (pDestBase.OwningAggregate == pSource.OwningAggregate) 1503if (current.OwningAggregate == pSource.OwningAggregate) 1542Debug.Assert(pSource.OwningAggregate == pDest.OwningAggregate); 1544TypeArray pTypeParams = pSource.OwningAggregate.GetTypeVarsAll();
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (4)
1324((AggregateType)pArgumentType).OwningAggregate.GetUnderlyingType(), 1334((AggregateType)pArgumentType).OwningAggregate.GetUnderlyingType(), 2377if (type is AggregateType ats && (ats.IsClassType || ats.IsStructType) && !ats.OwningAggregate.IsSkipUDOps()) 2495for (MethodSymbol methCur = SymbolLoader.LookupAggMember(name, type.OwningAggregate, symbmask_t.MASK_MethodSymbol) as MethodSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (4)
36Debug.Assert(atsCheck == null || symCheck.parent == atsCheck.OwningAggregate); 98if (ACCESSERROR.ACCESSERROR_NOERROR != CheckAccessCore(ats.OwningAggregate, ats.OuterType, symWhere, null)) 120Debug.Assert(atsCheck == null || symCheck.parent == atsCheck.OwningAggregate); 239if (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)
147AggregateSymbol aggDest = atsDest.OwningAggregate; 180switch (aggSource.OwningAggregate.AggKind()) 183switch (aggDest.OwningAggregate.AggKind()) 357AggregateSymbol pAggSym = pSource.OwningAggregate; 358if (pAggSym != pDest.OwningAggregate) 502if (iface.OwningAggregate == @base) 518derived = derived.GetBaseClass().OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (3)
993|| !fat1.OwningAggregate.IsValueType() 995|| !fat2.OwningAggregate.IsValueType()) 1018pType is NullableType && pType.StripNubs() is AggregateType agg && agg.OwningAggregate.IsValueType();
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (4)
75TypeArray typeVars = ats.OwningAggregate.GetTypeVars(); 94if (!CheckConstraintsCore(ats.OwningAggregate, typeVars, typeArgsThis, typeArgsAll, null, flags & CheckConstraintsFlags.NoErrors)) 127Debug.Assert(mwi.GetType().OwningAggregate == mwi.Meth().getClass()); 279AggregateSymbol 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)
21AggregateSymbol sym = type.OwningAggregate;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (6)
91Debug.Assert(atsOuter == null || atsOuter.OwningAggregate == agg.Parent, ""); 106Debug.Assert(pAggregate.OwningAggregate == agg); 242return GetAggregate(type.OwningAggregate, typeArgs); 410if (atsSrc.OwningAggregate != atsDst.OwningAggregate) 671AggregateSymbol 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)
177AggregateSymbol aggregate = aggType.OwningAggregate; 1695AggregateSymbol aggregate = ((AggregateType)GetCTypeFromType(baseMethodInfo.DeclaringType)).OwningAggregate; 1711AggregateSymbol aggregate = ((AggregateType)t).OwningAggregate; 1788AggregateSymbol aggregate = ((AggregateType)t).OwningAggregate;