diff options
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs new file mode 100644 index 000000000..2e98335b3 --- /dev/null +++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Runtime.InteropServices; + +namespace System.Reflection.Emit +{ + public class ModuleBuilder : Module + { + internal ModuleBuilder() + { + // Prevent generating a default constructor + } + + public override Assembly Assembly + { + get + { + return default; + } + } + + public override string FullyQualifiedName + { + get + { + return default; + } + } + + public override string Name + { + get + { + return default; + } + } + + public void CreateGlobalFunctions() + { + } + + public EnumBuilder DefineEnum(string name, TypeAttributes visibility, Type underlyingType) + { + return default; + } + + public MethodBuilder DefineGlobalMethod(string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes) + { + return default; + } + + public MethodBuilder DefineGlobalMethod(string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers) + { + return default; + } + + public MethodBuilder DefineGlobalMethod(string name, MethodAttributes attributes, Type returnType, Type[] parameterTypes) + { + return default; + } + + public FieldBuilder DefineInitializedData(string name, byte[] data, FieldAttributes attributes) + { + return default; + } + + public MethodBuilder DefinePInvokeMethod(string name, string dllName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet) + { + return default; + } + + public MethodBuilder DefinePInvokeMethod(string name, string dllName, string entryName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet) + { + return default; + } + + public TypeBuilder DefineType(string name) + { + return default; + } + + public TypeBuilder DefineType(string name, TypeAttributes attr) + { + return default; + } + + public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent) + { + return default; + } + + public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, int typesize) + { + return default; + } + + public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, PackingSize packsize) + { + return default; + } + + public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize) + { + return default; + } + + public TypeBuilder DefineType(string name, TypeAttributes attr, Type parent, Type[] interfaces) + { + return default; + } + + public FieldBuilder DefineUninitializedData(string name, int size, FieldAttributes attributes) + { + return default; + } + + public override bool Equals(object obj) + { + return default; + } + + public MethodInfo GetArrayMethod(Type arrayClass, string methodName, CallingConventions callingConvention, Type returnType, Type[] parameterTypes) + { + return default; + } + + public override int GetHashCode() + { + return default; + } + + public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) + { + } + + public void SetCustomAttribute(CustomAttributeBuilder customBuilder) + { + } + } +} |