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)
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())
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));