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())
628
public override Type? BaseType =>
_typeParent
;
805
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
807
methods.AddRange(
_typeParent
.GetMethods(bindingAttr));
833
if (found == null && !bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
837
found =
_typeParent
.GetMethod(name, bindingAttr);
841
found =
_typeParent
.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers);
871
if (match == null && !bindingFlags.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
873
match =
_typeParent
.GetField(name, bindingFlags);
924
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
926
fields.AddRange(
_typeParent
.GetFields(bindingAttr));
972
if (
_typeParent
!= null)
974
interfaces.AddRange(
_typeParent
.GetInterfaces());
1032
if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) &&
_typeParent
!= null)
1034
candidates.AddRange(
_typeParent
.GetProperties(bindingAttr));