IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.CoreLib.Symbols.IMethodBaseSymbol Interface Reference

Provides information about methods and constructors. More...

Inheritance diagram for IKVM.CoreLib.Symbols.IMethodBaseSymbol:
IKVM.CoreLib.Symbols.IMemberSymbol IKVM.CoreLib.Symbols.ISymbol IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider IKVM.CoreLib.Symbols.IConstructorSymbol IKVM.CoreLib.Symbols.IMethodSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionConstructorSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionConstructorSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionMethodSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionConstructorSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionConstructorSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionMethodSymbol

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< CustomAttributeSymbolGetCustomAttributes ()
 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< CustomAttributeSymbolGetCustomAttributes (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.
 
ITypeSymbolDeclaringType [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.
 

Detailed Description

Provides information about methods and constructors.

Definition at line 9 of file IMethodBaseSymbol.cs.

Member Function Documentation

◆ GetGenericArguments()

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.

Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.

◆ GetMethodImplementationFlags()

MethodImplAttributes IKVM.CoreLib.Symbols.IMethodBaseSymbol.GetMethodImplementationFlags ( )

When overridden in a derived class, returns the MethodImplAttributes flags.

Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.

◆ GetParameters()

IParameterSymbol[] IKVM.CoreLib.Symbols.IMethodBaseSymbol.GetParameters ( )

When overridden in a derived class, gets the parameters of the specified method or constructor.

Returns

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.

Property Documentation

◆ Attributes

MethodAttributes IKVM.CoreLib.Symbols.IMethodBaseSymbol.Attributes
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.

15{ get; }

◆ CallingConvention

CallingConventions IKVM.CoreLib.Symbols.IMethodBaseSymbol.CallingConvention
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.

20{ get; }

◆ ContainsGenericParameters

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.ContainsGenericParameters
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.

25{ get; }

◆ IsAbstract

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsAbstract
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.

30{ get; }

◆ IsAssembly

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.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.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.

Definition at line 35 of file IMethodBaseSymbol.cs.

35{ get; }

◆ IsConstructor

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsConstructor
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.

40{ get; }

◆ IsFamily

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.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.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.

Definition at line 45 of file IMethodBaseSymbol.cs.

45{ get; }

◆ IsFamilyAndAssembly

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.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.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.

Definition at line 50 of file IMethodBaseSymbol.cs.

50{ get; }

◆ IsFamilyOrAssembly

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.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.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.

Definition at line 55 of file IMethodBaseSymbol.cs.

55{ get; }

◆ IsFinal

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsFinal
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.

60{ get; }

◆ IsGenericMethod

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsGenericMethod
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.

65{ get; }

◆ IsGenericMethodDefinition

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsGenericMethodDefinition
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.

70{ get; }

◆ IsHideBySig

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.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.

Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionMethodBaseSymbol.

Definition at line 75 of file IMethodBaseSymbol.cs.

75{ get; }

◆ IsPrivate

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsPrivate
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.

80{ get; }

◆ IsPublic

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsPublic
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.

85{ get; }

◆ IsSpecialName

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsSpecialName
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.

100{ get; }

◆ IsStatic

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsStatic
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.

90{ get; }

◆ IsVirtual

bool IKVM.CoreLib.Symbols.IMethodBaseSymbol.IsVirtual
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.

95{ get; }

◆ MethodImplementationFlags

MethodImplAttributes IKVM.CoreLib.Symbols.IMethodBaseSymbol.MethodImplementationFlags
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.

105{ get; }

The documentation for this interface was generated from the following file: