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