3 writes to _typeParent
System.Reflection.Emit (3)
System\Reflection\Emit\TypeBuilderImpl.cs (3)
558
_typeParent
= parent;
564
_typeParent
= _module.GetTypeFromCoreAssembly(CoreTypeId.Object);
574
_typeParent
= null;
22 references to _typeParent
System.Reflection.Emit (22)
System\Reflection\Emit\TypeBuilderImpl.cs (22)
202
if (
_typeParent
!.IsConstructedGenericType &&
203
(
_typeParent
.GetGenericTypeDefinition() is TypeBuilderImpl || _module.ContainsTypeBuilder(
_typeParent
.GetGenericArguments())))
206
con = GetConstructor(
_typeParent
,
_typeParent
.GetGenericTypeDefinition().GetConstructor(
211
con =
_typeParent
.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, EmptyTypes, null);
343
if (
_typeParent
!= null)
345
foreach (Type @interface in
_typeParent
.GetInterfaces())
626
public override Type? BaseType =>
_typeParent
;
803
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
805
methods.AddRange(
_typeParent
.GetMethods(bindingAttr));
831
if (found == null && !bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
835
found =
_typeParent
.GetMethod(name, bindingAttr);
839
found =
_typeParent
.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers);
869
if (match == null && !bindingFlags.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
871
match =
_typeParent
.GetField(name, bindingFlags);
922
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
924
fields.AddRange(
_typeParent
.GetFields(bindingAttr));
970
if (
_typeParent
!= null)
972
interfaces.AddRange(
_typeParent
.GetInterfaces());
1030
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
1032
candidates.AddRange(
_typeParent
.GetProperties(bindingAttr));