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)
220
if (_genericMethodDefinition.ReflectedType.Equals(_genericMethodDefinition.
DeclaringType
))
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (1)
280
if (
DeclaringType
.IsConstructedGenericType)
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (3)
139
return this.
DeclaringType
.Assembly.ManifestModule;
157
return
DeclaringType
;
216
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)
126
Type declaringType =
DeclaringType
;
382
if (target != null && !IsAssignableFrom(this.
DeclaringType
, target.GetType()))
392
Type firstParameterOfMethodType = this.
DeclaringType
;