3 writes to _typeParent
System.Reflection.Emit (3)
System\Reflection\Emit\TypeBuilderImpl.cs (3)
559
_typeParent
= parent;
565
_typeParent
= _module.GetTypeFromCoreAssembly(CoreTypeId.Object);
575
_typeParent
= null;
22 references to _typeParent
System.Reflection.Emit (22)
System\Reflection\Emit\TypeBuilderImpl.cs (22)
203
if (
_typeParent
!.IsConstructedGenericType &&
204
(
_typeParent
.GetGenericTypeDefinition() is TypeBuilderImpl || _module.ContainsTypeBuilder(
_typeParent
.GetGenericArguments())))
207
con = GetConstructor(
_typeParent
,
_typeParent
.GetGenericTypeDefinition().GetConstructor(
212
con =
_typeParent
.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, EmptyTypes, null);
344
if (
_typeParent
!= null)
346
foreach (Type @interface in
_typeParent
.GetInterfaces())
627
public override Type? BaseType =>
_typeParent
;
804
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
806
methods.AddRange(
_typeParent
.GetMethods(bindingAttr));
832
if (found == null && !bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
836
found =
_typeParent
.GetMethod(name, bindingAttr);
840
found =
_typeParent
.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers);
870
if (match == null && !bindingFlags.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
872
match =
_typeParent
.GetField(name, bindingFlags);
923
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
925
fields.AddRange(
_typeParent
.GetFields(bindingAttr));
971
if (
_typeParent
!= null)
973
interfaces.AddRange(
_typeParent
.GetInterfaces());
1031
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
1033
candidates.AddRange(
_typeParent
.GetProperties(bindingAttr));