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)
202if (_typeParent!.IsConstructedGenericType && 203(_typeParent.GetGenericTypeDefinition() is TypeBuilderImpl || _module.ContainsTypeBuilder(_typeParent.GetGenericArguments()))) 206con = GetConstructor(_typeParent, _typeParent.GetGenericTypeDefinition().GetConstructor( 211con = _typeParent.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, EmptyTypes, null); 343if (_typeParent != null) 345foreach (Type @interface in _typeParent.GetInterfaces()) 627public override Type? BaseType => _typeParent; 804if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 806methods.AddRange(_typeParent.GetMethods(bindingAttr)); 832if (found == null && !bindingAttr.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 836found = _typeParent.GetMethod(name, bindingAttr); 840found = _typeParent.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers); 870if (match == null && !bindingFlags.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 872match = _typeParent.GetField(name, bindingFlags); 923if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 925fields.AddRange(_typeParent.GetFields(bindingAttr)); 971if (_typeParent != null) 973interfaces.AddRange(_typeParent.GetInterfaces()); 1031if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 1033candidates.AddRange(_typeParent.GetProperties(bindingAttr));