|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Provides information about methods and constructors. More...
Public Member Functions | |
| 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. | |
| IParameterSymbol[] | GetParameters () |
| When overridden in a derived class, gets the parameters of the specified method or constructor. | |
| MethodImplAttributes | GetMethodImplementationFlags () |
| When overridden in a derived class, returns the MethodImplAttributes flags. | |
Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider | |
| 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. | |
| 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. | |
| bool | IsDefined (ITypeSymbol attributeType) |
| Indicates whether one or more instance of attributeType is defined on this member. | |
Properties | |
| 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.IMemberSymbol | |
| IModuleSymbol | Module [get] |
| Gets the module in which the type that declares the member represented by the current is defined. | |
| ITypeSymbol? | DeclaringType [get] |
| Gets the class that declares this member. | |
| MemberTypes | MemberType [get] |
| When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on. | |
| int | MetadataToken [get] |
| Gets a value that identifies a metadata element. | |
| string | Name [get] |
| Gets the name of the current member. | |
Properties inherited from IKVM.CoreLib.Symbols.ISymbol | |
| bool | IsMissing [get] |
Returns true if the symbol is missing. | |
Provides information about methods and constructors.
Definition at line 9 of file IMethodBaseSymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.IMethodBaseSymbol.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.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
| MethodImplAttributes IKVM.CoreLib.Symbols.IMethodBaseSymbol.GetMethodImplementationFlags | ( | ) |
When overridden in a derived class, returns the MethodImplAttributes flags.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
| IParameterSymbol[] IKVM.CoreLib.Symbols.IMethodBaseSymbol.GetParameters | ( | ) |
When overridden in a derived class, gets the parameters of the specified method or constructor.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
|
get |
Gets the attributes associated with this method.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 15 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating the calling conventions for this method.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 20 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether the generic method contains unassigned generic type parameters.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 25 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether the method is abstract.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 30 of file IMethodBaseSymbol.cs.
|
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.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 35 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether the method is a constructor.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 40 of file IMethodBaseSymbol.cs.
|
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.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 45 of file IMethodBaseSymbol.cs.
|
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.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 50 of file IMethodBaseSymbol.cs.
|
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.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 55 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether this method is final.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 60 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether the method is generic.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 65 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether the method is a generic method definition.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 70 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether only a member of the same kind with exactly the same signature is hidden in the derived class.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 75 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether this member is private.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 80 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether this is a public method.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 85 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether this method has a special name.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 100 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether the method is static.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 90 of file IMethodBaseSymbol.cs.
|
get |
Gets a value indicating whether the method is virtual.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 95 of file IMethodBaseSymbol.cs.
|
get |
Gets the MethodImplAttributes flags that specify the attributes of a method implementation.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.
Definition at line 105 of file IMethodBaseSymbol.cs.