Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2018-09-19 15:19:22 +0300
committerGitHub <noreply@github.com>2018-09-19 15:19:22 +0300
commitefd29b5cf854679349066e22ef9038b8cfe76d94 (patch)
tree2de750c1ac8a487d7f6d149592a6362ade6a5a77 /src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs
parentf9124d69e41d42196510dd7234b2d53fed48ad4c (diff)
parent49f9ed0e66fc2d4cd682821396c6af5e80182048 (diff)
Merge pull request #25 from ntherning/bump-corert
Bump to latest upstream
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs108
1 files changed, 108 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs
new file mode 100644
index 000000000..c1da03ffb
--- /dev/null
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs
@@ -0,0 +1,108 @@
+// 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.
+
+namespace System.Reflection.Emit
+{
+ public sealed class SignatureHelper
+ {
+ internal SignatureHelper()
+ {
+ // Prevent generating a default constructor
+ }
+
+ public void AddArgument(Type clsArgument)
+ {
+ }
+
+ public void AddArgument(Type argument, bool pinned)
+ {
+ }
+
+ public void AddArgument(Type argument, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers)
+ {
+ }
+
+ public void AddArguments(Type[] arguments, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers)
+ {
+ }
+
+ public void AddSentinel()
+ {
+ }
+
+ public override bool Equals(object obj)
+ {
+ return default;
+ }
+
+ public static SignatureHelper GetFieldSigHelper(Module mod)
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public override int GetHashCode()
+ {
+ return default;
+ }
+
+ public static SignatureHelper GetLocalVarSigHelper()
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public static SignatureHelper GetLocalVarSigHelper(Module mod)
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public static SignatureHelper GetMethodSigHelper(CallingConventions callingConvention, Type returnType)
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public static SignatureHelper GetMethodSigHelper(Module mod, CallingConventions callingConvention, Type returnType)
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public static SignatureHelper GetMethodSigHelper(Module mod, Type returnType, Type[] parameterTypes)
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public static SignatureHelper GetPropertySigHelper(Module mod, CallingConventions callingConvention, Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers)
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public static SignatureHelper GetPropertySigHelper(Module mod, Type returnType, Type[] parameterTypes)
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public static SignatureHelper GetPropertySigHelper(Module mod, Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers)
+ {
+ ReflectionEmitThrower.ThrowPlatformNotSupportedException();
+ return default;
+ }
+
+ public byte[] GetSignature()
+ {
+ return default;
+ }
+
+ public override string ToString()
+ {
+ return default;
+ }
+ }
+}