<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
API Differences between 4.7.0 and 4.3.0
119 Additions
0 Removals
System.Reflection.Emit
-
public sealed class AssemblyBuilder : Assembly
-
public enum AssemblyBuilderAccess
-
public sealed class ConstructorBuilder : ConstructorInfo
-
public sealed class EnumBuilder : Type
-
public sealed class EventBuilder
-
public sealed class FieldBuilder : FieldInfo
-
public sealed class GenericTypeParameterBuilder : Type
-
public sealed class MethodBuilder : MethodInfo
-
public class ModuleBuilder : Module
- public void CreateGlobalFunctions()
- public EnumBuilder DefineEnum(string name, TypeAttributes visibility, Type underlyingType)
- public MethodBuilder DefineGlobalMethod(string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes)
- public MethodBuilder DefineGlobalMethod(string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers)
- public MethodBuilder DefineGlobalMethod(string name, MethodAttributes attributes, Type returnType, Type[] parameterTypes)
- public FieldBuilder DefineInitializedData(string name, byte[] data, FieldAttributes attributes)
- public TypeBuilder DefineType(string name)
- public TypeBuilder DefineType(string name, TypeAttributes attr)
- public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent)
- public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, int typesize)
- public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, PackingSize packsize)
- public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize)
- public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, Type[] interfaces)
- public FieldBuilder DefineUninitializedData(string name, int size, FieldAttributes attributes)
- public MethodInfo GetArrayMethod(Type arrayClass, string methodName, CallingConventions callingConvention, Type returnType, Type[] parameterTypes)
- public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)
- public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
-
public sealed class PropertyBuilder : PropertyInfo
-
public sealed class TypeBuilder : Type
- public const int UnspecifiedTypeSize = 0
- public PackingSize PackingSize { get; }
- public int Size { get; }
- public static ConstructorInfo GetConstructor(Type type, ConstructorInfo constructor)
- public static FieldInfo GetField(Type type, FieldInfo field)
- public static MethodInfo GetMethod(Type type, MethodInfo method)
- public void AddInterfaceImplementation(Type interfaceType)
- public TypeInfo CreateTypeInfo()
- public ConstructorBuilder DefineConstructor(MethodAttributes attributes, CallingConventions callingConvention, Type[] parameterTypes)
- public ConstructorBuilder DefineConstructor(MethodAttributes attributes, CallingConventions callingConvention, Type[] parameterTypes, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers)
- public ConstructorBuilder DefineDefaultConstructor(MethodAttributes attributes)
- public EventBuilder DefineEvent(string name, EventAttributes attributes, Type eventtype)
- public FieldBuilder DefineField(string fieldName, Type type, FieldAttributes attributes)
- public FieldBuilder DefineField(string fieldName, Type type, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers, FieldAttributes attributes)
- public GenericTypeParameterBuilder[] DefineGenericParameters(string[] names)
- public FieldBuilder DefineInitializedData(string name, byte[] data, FieldAttributes attributes)
- public MethodBuilder DefineMethod(string name, MethodAttributes attributes)
- public MethodBuilder DefineMethod(string name, MethodAttributes attributes, CallingConventions callingConvention)
- public MethodBuilder DefineMethod(string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes)
- public MethodBuilder DefineMethod(string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers)
- public MethodBuilder DefineMethod(string name, MethodAttributes attributes, Type returnType, Type[] parameterTypes)
- public void DefineMethodOverride(MethodInfo methodInfoBody, MethodInfo methodInfoDeclaration)
- public TypeBuilder DefineNestedType(string name)
- public TypeBuilder DefineNestedType(string name, TypeAttributes attr)
- public TypeBuilder DefineNestedType(string name, TypeAttributes attr, Type parent)
- public TypeBuilder DefineNestedType(string name, TypeAttributes attr, Type parent, int typeSize)
- public TypeBuilder DefineNestedType(string name, TypeAttributes attr, Type parent, PackingSize packSize)
- public TypeBuilder DefineNestedType(string name, TypeAttributes attr, Type parent, PackingSize packSize, int typeSize)
- public TypeBuilder DefineNestedType(string name, TypeAttributes attr, Type parent, Type[] interfaces)
- public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes)
- public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers)
- public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, Type returnType, Type[] parameterTypes)
- public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers)
- public ConstructorBuilder DefineTypeInitializer()
- public FieldBuilder DefineUninitializedData(string name, int size, FieldAttributes attributes)
- public bool IsCreated()
- public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)
- public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
- public void SetParent(Type parent)