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:
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs177
1 files changed, 177 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs
new file mode 100644
index 000000000..bb52d48d0
--- /dev/null
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs
@@ -0,0 +1,177 @@
+// 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 partial class ILGenerator
+ {
+ internal ILGenerator()
+ {
+ // Prevent generating a default constructor
+ }
+
+ public virtual int ILOffset
+ {
+ get
+ {
+ return default;
+ }
+ }
+
+ public virtual void BeginCatchBlock(Type exceptionType)
+ {
+ }
+
+ public virtual void BeginExceptFilterBlock()
+ {
+ }
+
+ public virtual Label BeginExceptionBlock()
+ {
+ return default;
+ }
+
+ public virtual void BeginFaultBlock()
+ {
+ }
+
+ public virtual void BeginFinallyBlock()
+ {
+ }
+
+ public virtual void BeginScope()
+ {
+ }
+
+ public virtual LocalBuilder DeclareLocal(Type localType)
+ {
+ return default;
+ }
+
+ public virtual LocalBuilder DeclareLocal(Type localType, bool pinned)
+ {
+ return default;
+ }
+
+ public virtual Label DefineLabel()
+ {
+ return default;
+ }
+
+ public virtual void Emit(OpCode opcode)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, byte arg)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, double arg)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, short arg)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, int arg)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, long arg)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, ConstructorInfo con)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, Label label)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, Label[] labels)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, LocalBuilder local)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, SignatureHelper signature)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, FieldInfo field)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, MethodInfo meth)
+ {
+ }
+
+ [CLSCompliantAttribute(false)]
+ public void Emit(OpCode opcode, sbyte arg)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, float arg)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, string str)
+ {
+ }
+
+ public virtual void Emit(OpCode opcode, Type cls)
+ {
+ }
+
+ public virtual void EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes)
+ {
+ }
+
+ public virtual void EmitCalli(OpCode opcode, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, Type[] optionalParameterTypes)
+ {
+ }
+
+ public virtual void EmitCalli(OpCode opcode, CallingConvention unmanagedCallConv, Type returnType, Type[] parameterTypes)
+ {
+ }
+
+ public virtual void EmitWriteLine(LocalBuilder localBuilder)
+ {
+ }
+
+ public virtual void EmitWriteLine(FieldInfo fld)
+ {
+ }
+
+ public virtual void EmitWriteLine(string value)
+ {
+ }
+
+ public virtual void EndExceptionBlock()
+ {
+ }
+
+ public virtual void EndScope()
+ {
+ }
+
+ public virtual void MarkLabel(Label loc)
+ {
+ }
+
+ public virtual void ThrowException(Type excType)
+ {
+ }
+
+ public virtual void UsingNamespace(string usingNamespace)
+ {
+ }
+ }
+}