13 references to Sentinels
System.Reflection.MetadataLoadContext (13)
System\Reflection\TypeLoading\Events\RoEvent.cs (6)
57
private RoMethod? GetRoAddMethod() => (_lazyAdder ==
Sentinels
.RoMethod) ? (_lazyAdder = ComputeEventAddMethod()?.FilterInheritedAccessor()) : _lazyAdder;
58
private RoMethod? GetRoRemoveMethod() => (_lazyRemover ==
Sentinels
.RoMethod) ? (_lazyRemover = ComputeEventRemoveMethod()?.FilterInheritedAccessor()) : _lazyRemover;
59
private RoMethod? GetRoRaiseMethod() => (_lazyRaiser ==
Sentinels
.RoMethod) ? (_lazyRaiser = ComputeEventRaiseMethod()?.FilterInheritedAccessor()) : _lazyRaiser;
69
private volatile RoMethod? _lazyAdder =
Sentinels
.RoMethod;
70
private volatile RoMethod? _lazyRemover =
Sentinels
.RoMethod;
71
private volatile RoMethod? _lazyRaiser =
Sentinels
.RoMethod;
System\Reflection\TypeLoading\General\Sentinels.cs (1)
29
internal SentinelMethod() : base(
Sentinels
.RoType) { }
System\Reflection\TypeLoading\Properties\RoProperty.cs (4)
97
private RoMethod? GetRoGetMethod() => object.ReferenceEquals(_lazyGetter,
Sentinels
.RoMethod) ? (_lazyGetter = ComputeGetterMethod()?.FilterInheritedAccessor()) : _lazyGetter;
98
private RoMethod? GetRoSetMethod() => object.ReferenceEquals(_lazySetter,
Sentinels
.RoMethod) ? (_lazySetter = ComputeSetterMethod()?.FilterInheritedAccessor()) : _lazySetter;
103
private volatile RoMethod? _lazyGetter =
Sentinels
.RoMethod;
104
private volatile RoMethod? _lazySetter =
Sentinels
.RoMethod;
System\Reflection\TypeLoading\Types\RoType.cs (2)
160
internal RoType? GetRoBaseType() => object.ReferenceEquals(_lazyBaseType,
Sentinels
.RoType) ? (_lazyBaseType = ComputeBaseType()) : _lazyBaseType;
174
private volatile RoType? _lazyBaseType =
Sentinels
.RoType;