IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol Class Referenceabstract
Inheritance diagram for IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol:
IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMemberSymbol IKVM.CoreLib.Symbols.IMethodBaseSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionSymbol IKVM.CoreLib.Symbols.IMemberSymbol IKVM.CoreLib.Symbols.IMemberSymbol IKVM.CoreLib.Symbols.ISymbol IKVM.CoreLib.Symbols.ISymbol IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider IKVM.CoreLib.Symbols.ISymbol IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionConstructorSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodSymbol

Public Member Functions

 IkvmReflectionMethodBaseSymbol (IkvmReflectionSymbolContext context, IkvmReflectionModuleSymbol module, IkvmReflectionTypeSymbol? 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.
 
global::System.Reflection.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.IkvmReflection.IkvmReflectionMemberSymbol
 IkvmReflectionMemberSymbol (IkvmReflectionSymbolContext context, IkvmReflectionModuleSymbol module, IkvmReflectionTypeSymbol? type, MemberInfo underlyingMember)
 Initializes a new instance.
 
virtual 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.
 
virtual 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.
 
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.IkvmReflection.IkvmReflectionSymbol
 IkvmReflectionSymbol (IkvmReflectionSymbolContext context)
 Initializes a new instance.
 
- Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider
- Public Member Functions inherited from IKVM.CoreLib.Symbols.IMethodBaseSymbol

Properties

global::System.Reflection.MethodAttributes Attributes [get]
 Gets the attributes associated with this method.
 
global::System.Reflection.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 IsSpecialName [get]
 Gets a value indicating whether this method has a special name.
 
bool IsStatic [get]
 Gets a value indicating whether the method is static.
 
bool IsVirtual [get]
 Gets a value indicating whether the method is virtual.
 
global::System.Reflection.MethodImplAttributes MethodImplementationFlags [get]
 Gets the MethodImplAttributes flags that specify the attributes of a method implementation.
 
- Properties inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMemberSymbol
virtual ? ITypeSymbol DeclaringType [get]
 Gets the class that declares this member.
 
virtual global::System.Reflection.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 IModuleSymbol Module [get]
 Gets the module in which the type that declares the member represented by the current is defined.
 
virtual string Name [get]
 Gets the name of the current member.
 
override bool IsMissing [get]
 Returns true if the symbol is missing.
 
- Properties inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionSymbol
IkvmReflectionSymbolContext Context [get]
 Gets the associated IkvmReflectionSymbolContext.
 
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

Additional Inherited Members

- Protected Member Functions inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionSymbol
virtual IkvmReflectionMemberSymbol ResolveMemberSymbol (MemberInfo member)
 Resolves the symbol for the specified type.
 
- Package Functions inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMemberSymbol
- Package Functions inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionSymbol

Detailed Description

Definition at line 12 of file IkvmReflectionMethodBaseSymbol.cs.

Constructor & Destructor Documentation

◆ IkvmReflectionMethodBaseSymbol()

IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IkvmReflectionMethodBaseSymbol ( IkvmReflectionSymbolContext context,
IkvmReflectionModuleSymbol module,
IkvmReflectionTypeSymbol? type,
MethodBase underlyingMethodBase )

Initializes a new instance.

Parameters
context
module
type
underlyingMethodBase

Definition at line 28 of file IkvmReflectionMethodBaseSymbol.cs.

28 :
29 base(context, module, type, underlyingMethodBase)
30 {
31 _underlyingMethodBase = underlyingMethodBase ?? throw new ArgumentNullException(nameof(underlyingMethodBase));
32 }

Member Function Documentation

◆ GetGenericArguments()

ITypeSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.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

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 112 of file IkvmReflectionMethodBaseSymbol.cs.

113 {
114 return ResolveTypeSymbols(_underlyingMethodBase.GetGenericArguments());
115 }

◆ GetMethodImplementationFlags()

global.System.Reflection.MethodImplAttributes IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.GetMethodImplementationFlags ( )

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

Returns

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 117 of file IkvmReflectionMethodBaseSymbol.cs.

118 {
119 return (global::System.Reflection.MethodImplAttributes)_underlyingMethodBase.GetMethodImplementationFlags();
120 }

◆ GetParameters()

IParameterSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.GetParameters ( )

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

Returns

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 122 of file IkvmReflectionMethodBaseSymbol.cs.

123 {
124 return ResolveParameterSymbols(_underlyingMethodBase.GetParameters());
125 }

Property Documentation

◆ Attributes

global.System.Reflection.MethodAttributes IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.Attributes
get

Gets the attributes associated with this method.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 74 of file IkvmReflectionMethodBaseSymbol.cs.

◆ CallingConvention

global.System.Reflection.CallingConventions IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.CallingConvention
get

Gets a value indicating the calling conventions for this method.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 76 of file IkvmReflectionMethodBaseSymbol.cs.

◆ ContainsGenericParameters

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.ContainsGenericParameters
get

Gets a value indicating whether the generic method contains unassigned generic type parameters.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 78 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsAbstract

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsAbstract
get

Gets a value indicating whether the method is abstract.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 80 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsAssembly

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

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 82 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsConstructor

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsConstructor
get

Gets a value indicating whether the method is a constructor.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 84 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsFamily

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

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 86 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsFamilyAndAssembly

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

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 88 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsFamilyOrAssembly

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

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 90 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsFinal

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsFinal
get

Gets a value indicating whether this method is final.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 92 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsGenericMethod

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsGenericMethod
get

Gets a value indicating whether the method is generic.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 94 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsGenericMethodDefinition

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsGenericMethodDefinition
get

Gets a value indicating whether the method is a generic method definition.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 96 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsHideBySig

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

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 98 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsPrivate

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsPrivate
get

Gets a value indicating whether this member is private.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 100 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsPublic

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsPublic
get

Gets a value indicating whether this is a public method.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 102 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsSpecialName

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsSpecialName
get

Gets a value indicating whether this method has a special name.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 104 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsStatic

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsStatic
get

Gets a value indicating whether the method is static.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 106 of file IkvmReflectionMethodBaseSymbol.cs.

◆ IsVirtual

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.IsVirtual
get

Gets a value indicating whether the method is virtual.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 108 of file IkvmReflectionMethodBaseSymbol.cs.

◆ MethodImplementationFlags

global.System.Reflection.MethodImplAttributes IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMethodBaseSymbol.MethodImplementationFlags
get

Gets the MethodImplAttributes flags that specify the attributes of a method implementation.

Implements IKVM.CoreLib.Symbols.IMethodBaseSymbol.

Definition at line 110 of file IkvmReflectionMethodBaseSymbol.cs.


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