Definition at line 27 of file MissingMethod.cs.
◆ Equals()
| override bool IKVM.Reflection.MissingMethod.Equals |
( |
object | obj | ) |
|
Definition at line 239 of file MissingMethod.cs.
240 {
241 var other = obj as MissingMethod;
242 return other != null
243 && other.declaringType == declaringType
244 && other.name == name
245 && other.signature.Equals(signature);
246 }
◆ GetGenericArguments()
| override Type[] IKVM.Reflection.MissingMethod.GetGenericArguments |
( |
| ) |
|
Definition at line 267 of file MissingMethod.cs.
268 {
269 var method = TryGetForwarder();
270 if (method != null)
271 return Forwarder.GetGenericArguments();
272
273 if (typeArgs == null)
274 {
275 typeArgs =
new Type[signature.GenericParameterCount];
276 for (int i = 0; i < typeArgs.Length; i++)
277 typeArgs[i] = new MissingTypeParameter(this, i);
278 }
279
280 return Util.Copy(typeArgs);
281 }
IKVM.Reflection.Type Type
◆ GetGenericMethodDefinition()
| override MethodInfo IKVM.Reflection.MissingMethod.GetGenericMethodDefinition |
( |
| ) |
|
Definition at line 293 of file MissingMethod.cs.
294 {
295 return Forwarder.GetGenericMethodDefinition();
296 }
◆ GetHashCode()
| override int IKVM.Reflection.MissingMethod.GetHashCode |
( |
| ) |
|
Definition at line 248 of file MissingMethod.cs.
249 {
250 return declaringType.GetHashCode() ^ name.GetHashCode() ^ signature.
GetHashCode();
251 }
override int GetHashCode()
◆ GetMethodBody()
| override MethodBody IKVM.Reflection.MissingMethod.GetMethodBody |
( |
| ) |
|
Definition at line 200 of file MissingMethod.cs.
201 {
202 return Forwarder.GetMethodBody();
203 }
◆ GetMethodImplementationFlags()
| override MethodImplAttributes IKVM.Reflection.MissingMethod.GetMethodImplementationFlags |
( |
| ) |
|
Definition at line 195 of file MissingMethod.cs.
196 {
197 return Forwarder.GetMethodImplementationFlags();
198 }
◆ GetParameters()
| override ParameterInfo[] IKVM.Reflection.MissingMethod.GetParameters |
( |
| ) |
|
Definition at line 172 of file MissingMethod.cs.
173 {
174 var parameters =
new ParameterInfo[signature.GetParameterCount()];
175 for (int i = 0; i < parameters.Length; i++)
176 parameters[i] = new ParameterInfoImpl(this, i);
177
178 return parameters;
179 }
IKVM.Reflection.ParameterInfo ParameterInfo
◆ MakeGenericMethod()
| override MethodInfo IKVM.Reflection.MissingMethod.MakeGenericMethod |
( |
params Type[] | typeArguments | ) |
|
Definition at line 318 of file MissingMethod.cs.
319 {
320 var method = TryGetForwarder();
321 if (method != null)
322 return method.MakeGenericMethod(typeArguments);
323
324 return new GenericMethodInstance(declaringType, this, typeArguments);
325 }
◆ __IsMissing
| override bool IKVM.Reflection.MissingMethod.__IsMissing |
|
get |
Definition at line 66 of file MissingMethod.cs.
67 {
68 get { return TryGetForwarder() == null; }
69 }
◆ __MethodRVA
| override int IKVM.Reflection.MissingMethod.__MethodRVA |
|
get |
Definition at line 205 of file MissingMethod.cs.
206 {
207 get { return Forwarder.__MethodRVA; }
208 }
◆ Attributes
| override MethodAttributes IKVM.Reflection.MissingMethod.Attributes |
|
get |
Definition at line 190 of file MissingMethod.cs.
191 {
192 get { return Forwarder.Attributes; }
193 }
◆ CallingConvention
| override CallingConventions IKVM.Reflection.MissingMethod.CallingConvention |
|
get |
Definition at line 210 of file MissingMethod.cs.
211 {
212 get { return signature.CallingConvention; }
213 }
◆ ContainsGenericParameters
| override bool IKVM.Reflection.MissingMethod.ContainsGenericParameters |
|
get |
Definition at line 262 of file MissingMethod.cs.
263 {
264 get { return Forwarder.ContainsGenericParameters; }
265 }
◆ DeclaringType
| override Type IKVM.Reflection.MissingMethod.DeclaringType |
|
get |
Definition at line 229 of file MissingMethod.cs.
230 {
231 get { return declaringType.IsModulePseudoType ? null : declaringType; }
232 }
◆ IsGenericMethod
| override bool IKVM.Reflection.MissingMethod.IsGenericMethod |
|
get |
Definition at line 308 of file MissingMethod.cs.
309 {
311 }
override bool IsGenericMethodDefinition
◆ IsGenericMethodDefinition
| override bool IKVM.Reflection.MissingMethod.IsGenericMethodDefinition |
|
get |
Definition at line 313 of file MissingMethod.cs.
314 {
315 get { return signature.GenericParameterCount != 0; }
316 }
◆ MetadataToken
| override int IKVM.Reflection.MissingMethod.MetadataToken |
|
get |
Definition at line 327 of file MissingMethod.cs.
328 {
329 get { return Forwarder.MetadataToken; }
330 }
◆ Module
| override Module IKVM.Reflection.MissingMethod.Module |
|
get |
Definition at line 234 of file MissingMethod.cs.
235 {
236 get { return declaringType.Module; }
237 }
◆ Name
| override string IKVM.Reflection.MissingMethod.Name |
|
get |
◆ ReturnParameter
| override ParameterInfo IKVM.Reflection.MissingMethod.ReturnParameter |
|
get |
Definition at line 76 of file MissingMethod.cs.
77 {
78 get { return new ParameterInfoImpl(this, -1); }
79 }
◆ ReturnType
| override Type IKVM.Reflection.MissingMethod.ReturnType |
|
get |
Definition at line 71 of file MissingMethod.cs.
72 {
73 get { return signature.GetReturnType(this); }
74 }
The documentation for this class was generated from the following file: