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