3 writes to _typeParent
System.Reflection.Emit (3)
System\Reflection\Emit\TypeBuilderImpl.cs (3)
561
_typeParent
= parent;
567
_typeParent
= _module.GetTypeFromCoreAssembly(CoreTypeId.Object);
577
_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())
630
public override Type? BaseType =>
_typeParent
;
807
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
809
methods.AddRange(
_typeParent
.GetMethods(bindingAttr));
835
if (found == null && !bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
839
found =
_typeParent
.GetMethod(name, bindingAttr);
843
found =
_typeParent
.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers);
873
if (match == null && !bindingFlags.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
875
match =
_typeParent
.GetField(name, bindingFlags);
926
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
928
fields.AddRange(
_typeParent
.GetFields(bindingAttr));
974
if (
_typeParent
!= null)
976
interfaces.AddRange(
_typeParent
.GetInterfaces());
1034
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
1036
candidates.AddRange(
_typeParent
.GetProperties(bindingAttr));