Module Method
Provides classes for methods.
Methods and implementations are different because there can be several implementations for the same method in different assemblies. It is not really possible to guarantee which methods will be loaded at run-time.
Import path
import semmle.code.cil.Method
Classes
Accessor |
An accessor. |
ChainingMethod |
A method that always returns the |
Constructor |
A constructor. |
Destructor |
A destructor/finalizer. |
Getter |
A getter. |
InstanceConstructor |
An instance constructor. |
Method |
A method, which corresponds to any callable in C#, including constructors, destructors, operators, accessors and so on. |
MethodImplementation |
An implementation of a method in an assembly. |
Operator |
An operator. |
Setter |
A setter. |
StaticConstructor |
A static/class constructor. |
TrivialGetter |
A method that does nothing but retrieve a field. Note that this is not necessarily a property getter. |
TrivialSetter |
A method that does nothing but set a field. This is not necessarily a property setter. |
Aliases
Callable |
An alias for |