Base:
4 references to DeclaringType
System.Reflection.Emit (4)
System\Reflection\Emit\FieldBuilderImpl.cs (1)
97
public override Type? ReflectedType =>
DeclaringType
;
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
1042
if (member is FieldBuilderImpl fb && Equals(fb.Module) && !fb.
DeclaringType
!.IsGenericTypeDefinition)
System\Reflection\Emit\TypeBuilderImpl.cs (2)
887
if (match != null && ReferenceEquals(fieldInfo.
DeclaringType
, match.DeclaringType))
890
throw new AmbiguousMatchException(SR.Format(SR.AmbiguousMatch_MemberInfo, fieldInfo.
DeclaringType
, fieldInfo.Name));