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
;
815
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
817
methods.AddRange(
_typeParent
.GetMethods(bindingAttr));
843
if (found == null && !bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
847
found =
_typeParent
.GetMethod(name, bindingAttr);
851
found =
_typeParent
.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers);
881
if (match == null && !bindingFlags.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
883
match =
_typeParent
.GetField(name, bindingFlags);
934
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
936
fields.AddRange(
_typeParent
.GetFields(bindingAttr));
980
if (
_typeParent
!= null)
982
interfaces.AddRange(
_typeParent
.GetInterfaces());
1040
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
1042
candidates.AddRange(
_typeParent
.GetProperties(bindingAttr));