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)
203if (_typeParent!.IsConstructedGenericType && 204(_typeParent.GetGenericTypeDefinition() is TypeBuilderImpl || _module.ContainsTypeBuilder(_typeParent.GetGenericArguments()))) 207con = GetConstructor(_typeParent, _typeParent.GetGenericTypeDefinition().GetConstructor( 212con = _typeParent.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, EmptyTypes, null); 344if (_typeParent != null) 346foreach (Type @interface in _typeParent.GetInterfaces()) 630public override Type? BaseType => _typeParent; 807if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 809methods.AddRange(_typeParent.GetMethods(bindingAttr)); 835if (found == null && !bindingAttr.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 839found = _typeParent.GetMethod(name, bindingAttr); 843found = _typeParent.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers); 873if (match == null && !bindingFlags.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 875match = _typeParent.GetField(name, bindingFlags); 926if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 928fields.AddRange(_typeParent.GetFields(bindingAttr)); 974if (_typeParent != null) 976interfaces.AddRange(_typeParent.GetInterfaces()); 1034if (!bindingAttr.HasFlag(BindingFlags.DeclaredOnly) && _typeParent != null) 1036candidates.AddRange(_typeParent.GetProperties(bindingAttr));