3 writes to _typeParent
System.Reflection.Emit (3)
System\Reflection\Emit\TypeBuilderImpl.cs (3)
570
_typeParent
= parent;
576
_typeParent
= _module.GetTypeFromCoreAssembly(CoreTypeId.Object);
586
_typeParent
= null;
22 references to _typeParent
System.Reflection.Emit (22)
System\Reflection\Emit\TypeBuilderImpl.cs (22)
214
if (
_typeParent
!.IsConstructedGenericType &&
215
(
_typeParent
.GetGenericTypeDefinition() is TypeBuilderImpl || _module.ContainsTypeBuilder(
_typeParent
.GetGenericArguments())))
218
con = GetConstructor(
_typeParent
,
_typeParent
.GetGenericTypeDefinition().GetConstructor(
223
con =
_typeParent
.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, EmptyTypes, null);
355
if (
_typeParent
!= null)
357
foreach (Type @interface in
_typeParent
.GetInterfaces())
638
public override Type? BaseType =>
_typeParent
;
831
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
833
methods.AddRange(
_typeParent
.GetMethods(bindingAttr));
859
if (found == null && !bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
863
found =
_typeParent
.GetMethod(name, bindingAttr);
867
found =
_typeParent
.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers);
897
if (match == null && !bindingFlags.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
899
match =
_typeParent
.GetField(name, bindingFlags);
950
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
952
fields.AddRange(
_typeParent
.GetFields(bindingAttr));
996
if(
_typeParent
!= null)
998
interfaces.AddRange(
_typeParent
.GetInterfaces());
1056
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
1058
candidates.AddRange(
_typeParent
.GetProperties(bindingAttr));