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