Base:
property
DeclaringType
System.Reflection.MemberInfo.DeclaringType
20 references to DeclaringType
mscorlib (20)
system\reflection\customattribute.cs (1)
1423
SpecialAllowCriticalAttributes((RuntimeType)field.
DeclaringType
);
system\reflection\fieldinfo.cs (13)
436
Type declaringType =
DeclaringType
;
557
RuntimeType declaringType =
DeclaringType
as RuntimeType;
613
RuntimeType declaringType =
DeclaringType
as RuntimeType;
636
RuntimeType declaringType =
DeclaringType
as RuntimeType;
640
if (declaringType != null &&
DeclaringType
.ContainsGenericParameters)
678
RuntimeType declaringType =
DeclaringType
as RuntimeType;
715
return String.Format("{0}.{1}",
DeclaringType
.FullName, Name);
754
return RuntimeFieldHandle.GetValueDirect(this, (RuntimeType)FieldType, &obj, (RuntimeType)
DeclaringType
);
779
RuntimeFieldHandle.SetValueDirect(this, (RuntimeType)FieldType, &obj, value, (RuntimeType)
DeclaringType
);
787
Type declaringType =
DeclaringType
;
891
public override bool IsSecurityCritical { get { return
DeclaringType
.IsSecurityCritical; } }
892
public override bool IsSecuritySafeCritical { get { return
DeclaringType
.IsSecuritySafeCritical; } }
893
public override bool IsSecurityTransparent { get { return
DeclaringType
.IsSecurityTransparent; } }
system\rttype.cs (3)
3372
if (Object.ReferenceEquals(fieldInfo.
DeclaringType
, match.DeclaringType))
3375
if ((match.DeclaringType.IsInterface == true) && (fieldInfo.
DeclaringType
.IsInterface == true))
3379
if (match == null || fieldInfo.
DeclaringType
.IsSubclassOf(match.DeclaringType) || match.DeclaringType.IsInterface)
system\runtime\interopservices\attributes.cs (2)
949
if (field.
DeclaringType
!= null &&
950
field.GetRuntimeModule().MetadataImport.GetFieldOffset(field.
DeclaringType
.MetadataToken, field.MetadataToken, out fieldOffset))
system\runtime\serialization\serializationfieldinfo.cs (1)
61
return m_field.
DeclaringType
;