Base:
property
DeclaringType
System.Reflection.MemberInfo.DeclaringType
13 references to DeclaringType
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Attribute.cs (2)
237
return rtPropAccessor.
DeclaringType
!.GetProperty(
306
return rtAdd.
DeclaringType
!.GetEvent(ev.Name);
System\Reflection\Runtime\MethodInfos\RuntimeConstructedGenericMethodInfo.cs (1)
221
if (_genericMethodDefinition.ReflectedType.Equals(_genericMethodDefinition.
DeclaringType
))
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (1)
273
if (
DeclaringType
.IsConstructedGenericType)
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (3)
130
return this.
DeclaringType
.Assembly.ManifestModule;
148
return
DeclaringType
;
211
Debug.Assert(ReflectedType.Equals(
DeclaringType
));
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfoForMethods.cs (2)
22
Debug.Assert(declaringRuntimeNamedMethodInfo.
DeclaringType
.IsTypeDefinition);
55
return _declaringRuntimeNamedMethodInfo.
DeclaringType
.ToRuntimeTypeInfo();
System\Reflection\RuntimeMethodInfo.cs (4)
40
if (
DeclaringType
.ContainsGenericParameters)
134
Type declaringType =
DeclaringType
;
378
if (target != null && !IsAssignableFrom(this.
DeclaringType
, target.GetType()))
388
Type firstParameterOfMethodType = this.
DeclaringType
;