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

ILGenerator.cs « Emit « Reflection « System « src « System.Private.CoreLib « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bb52d48d0a53b8bc8640d8b88e0ff67fd1adf4f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
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)
        {
        }
    }
}