|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Public Member Functions | |||
| ReflectionMethodSymbol (ReflectionSymbolContext context, ReflectionModuleSymbol module, ReflectionTypeSymbol? type, MethodInfo underlyingMethod) | |||
| Initializes a new instance. | |||
| IMethodSymbol | GetBaseDefinition () | ||
When overridden in a derived class, returns the object for the method on the direct or indirect base class in which the method represented by this instance was first declared.
| |||
| IMethodSymbol | GetGenericMethodDefinition () | ||
Returns a object that represents a generic method definition from which the current method can be constructed.
| |||
| IMethodSymbol | MakeGenericMethod (params ITypeSymbol[] typeArguments) | ||
Substitutes the elements of an array of types for the type parameters of the current generic method definition, and returns a MethodInfo object representing the resulting constructed method.
| |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol | |||
| ReflectionMethodBaseSymbol (ReflectionSymbolContext context, ReflectionModuleSymbol module, ReflectionTypeSymbol? type, MethodBase underlyingMethodBase) | |||
| Initializes a new instance. | |||
| ITypeSymbol[] | GetGenericArguments () | ||
Returns an array of ITypeSymbol objects that represent the type arguments of a generic method or the type parameters of a generic method definition.
| |||
| MethodImplAttributes | GetMethodImplementationFlags () | ||
When overridden in a derived class, returns the MethodImplAttributes flags.
| |||
| IParameterSymbol[] | GetParameters () | ||
When overridden in a derived class, gets the parameters of the specified method or constructor.
| |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMemberSymbol | |||
| ReflectionMemberSymbol (ReflectionSymbolContext context, ReflectionModuleSymbol module, ReflectionTypeSymbol? type, MemberInfo underlyingMember) | |||
| Initializes a new instance. | |||
| virtual ImmutableArray< CustomAttributeSymbol > | GetCustomAttributes () | ||
Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes.
| |||
| virtual ImmutableArray< CustomAttributeSymbol > | GetCustomAttributes (ITypeSymbol attributeType) | ||
Returns an array of custom attributes defined on this member, identified by type, or an empty array if there are no custom attributes of that type.
| |||
| virtual bool | IsDefined (ITypeSymbol attributeType) | ||
Indicates whether one or more instance of attributeType is defined on this member.
| |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |||
| ReflectionSymbol (ReflectionSymbolContext context) | |||
| Initializes a new instance. | |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider | |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.IMethodBaseSymbol | |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.IMethodSymbol | |||
Properties | |
| IParameterSymbol | ReturnParameter [get] |
| Gets a IParameterSymbol object that contains information about the return type of the method, such as whether the return type has custom modifiers. | |
| ITypeSymbol | ReturnType [get] |
| Gets the return type of this method. | |
| ICustomAttributeSymbolProvider | ReturnTypeCustomAttributes [get] |
| Gets the custom attributes for the return type. | |
Properties inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol | |
| MethodAttributes | Attributes [get] |
| Gets the attributes associated with this method. | |
| CallingConventions | CallingConvention [get] |
| Gets a value indicating the calling conventions for this method. | |
| bool | ContainsGenericParameters [get] |
| Gets a value indicating whether the generic method contains unassigned generic type parameters. | |
| bool | IsAbstract [get] |
| Gets a value indicating whether the method is abstract. | |
| bool | IsAssembly [get] |
| Gets a value indicating whether the potential visibility of this method or constructor is described by Assembly; that is, the method or constructor is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly. | |
| bool | IsConstructor [get] |
| Gets a value indicating whether the method is a constructor. | |
| bool | IsFamily [get] |
| Gets a value indicating whether the visibility of this method or constructor is described by Family; that is, the method or constructor is visible only within its class and derived classes. | |
| bool | IsFamilyAndAssembly [get] |
| Gets a value indicating whether the visibility of this method or constructor is described by FamANDAssem; that is, the method or constructor can be called by derived classes, but only if they are in the same assembly. | |
| bool | IsFamilyOrAssembly [get] |
| Gets a value indicating whether the potential visibility of this method or constructor is described by FamORAssem; that is, the method or constructor can be called by derived classes wherever they are, and by classes in the same assembly. | |
| bool | IsFinal [get] |
| Gets a value indicating whether this method is final. | |
| bool | IsGenericMethod [get] |
| Gets a value indicating whether the method is generic. | |
| bool | IsGenericMethodDefinition [get] |
| Gets a value indicating whether the method is a generic method definition. | |
| bool | IsHideBySig [get] |
| Gets a value indicating whether only a member of the same kind with exactly the same signature is hidden in the derived class. | |
| bool | IsPrivate [get] |
| Gets a value indicating whether this member is private. | |
| bool | IsPublic [get] |
| Gets a value indicating whether this is a public method. | |
| bool | IsStatic [get] |
| Gets a value indicating whether the method is static. | |
| bool | IsVirtual [get] |
| Gets a value indicating whether the method is virtual. | |
| bool | IsSpecialName [get] |
| Gets a value indicating whether this method has a special name. | |
| MethodImplAttributes | MethodImplementationFlags [get] |
| Gets the MethodImplAttributes flags that specify the attributes of a method implementation. | |
Properties inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMemberSymbol | |
| virtual IModuleSymbol | Module [get] |
| Gets the module in which the type that declares the member represented by the current is defined. | |
| virtual ? ITypeSymbol | DeclaringType [get] |
| Gets the class that declares this member. | |
| virtual MemberTypes | MemberType [get] |
| When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on. | |
| virtual int | MetadataToken [get] |
| Gets a value that identifies a metadata element. | |
| virtual string | Name [get] |
| Gets the name of the current member. | |
Properties inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
| ReflectionSymbolContext | Context [get] |
| Gets the associated ReflectionSymbolContext. | |
| virtual bool | IsMissing [get] |
Returns true if the symbol is missing. | |
Properties inherited from IKVM.CoreLib.Symbols.ISymbol | |
Properties inherited from IKVM.CoreLib.Symbols.IMemberSymbol | |
Properties inherited from IKVM.CoreLib.Symbols.IMethodBaseSymbol | |
Properties inherited from IKVM.CoreLib.Symbols.IMethodSymbol | |
Additional Inherited Members | |
Protected Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
| virtual ReflectionMemberSymbol | ResolveMemberSymbol (MemberInfo member) |
| Resolves the symbol for the specified type. | |
Package Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol | |
Package Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMemberSymbol | |
Package Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
Definition at line 11 of file ReflectionMethodSymbol.cs.
| IKVM.CoreLib.Symbols.Reflection.ReflectionMethodSymbol.ReflectionMethodSymbol | ( | ReflectionSymbolContext | context, |
| ReflectionModuleSymbol | module, | ||
| ReflectionTypeSymbol? | type, | ||
| MethodInfo | underlyingMethod ) |
Initializes a new instance.
| context | |
| module | |
| type | |
| underlyingMethod |
Definition at line 27 of file ReflectionMethodSymbol.cs.
| IMethodSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionMethodSymbol.GetBaseDefinition | ( | ) |
When overridden in a derived class, returns the object for the method on the direct or indirect base class in which the method represented by this instance was first declared.
Implements IKVM.CoreLib.Symbols.IMethodSymbol.
Definition at line 122 of file ReflectionMethodSymbol.cs.
| IMethodSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionMethodSymbol.GetGenericMethodDefinition | ( | ) |
Returns a object that represents a generic method definition from which the current method can be constructed.
Implements IKVM.CoreLib.Symbols.IMethodSymbol.
Definition at line 128 of file ReflectionMethodSymbol.cs.
| IMethodSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionMethodSymbol.MakeGenericMethod | ( | params ITypeSymbol[] | typeArguments | ) |
Substitutes the elements of an array of types for the type parameters of the current generic method definition, and returns a MethodInfo object representing the resulting constructed method.
| typeArguments |
Implements IKVM.CoreLib.Symbols.IMethodSymbol.
Definition at line 134 of file ReflectionMethodSymbol.cs.
|
get |
Gets a IParameterSymbol object that contains information about the return type of the method, such as whether the return type has custom modifiers.
Implements IKVM.CoreLib.Symbols.IMethodSymbol.
Definition at line 113 of file ReflectionMethodSymbol.cs.
|
get |
Gets the return type of this method.
Implements IKVM.CoreLib.Symbols.IMethodSymbol.
Definition at line 116 of file ReflectionMethodSymbol.cs.
|
get |
Gets the custom attributes for the return type.
Implements IKVM.CoreLib.Symbols.IMethodSymbol.
Definition at line 119 of file ReflectionMethodSymbol.cs.