DelegateSignature Class |
Represents a delegate signature.
System.Object
PostSharp.Sdk.CodeModel.Element
PostSharp.Sdk.CodeModel.Declaration
PostSharp.Sdk.CodeModel.Helpers.DelegateSignature
PostSharp.Sdk.CodeModel.Element
PostSharp.Sdk.CodeModel.Declaration
PostSharp.Sdk.CodeModel.Helpers.DelegateSignature
Namespace: PostSharp.Sdk.CodeModel.Helpers
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class DelegateSignature : Declaration, IEquatable<DelegateSignature>
The DelegateSignature type exposes the following members.
Name | Description | |
---|---|---|
DelegateSignature |
Initializes a new DelegateSignature.
|
Name | Description | |
---|---|---|
CustomDebuggingInformation | (Inherited from Declaration.) | |
GenericParameters |
Gets the list of generic parameters.
| |
Parameters |
Gets the list of parameters.
| |
ReturnType |
Gets or sets the delegate return type.
|
Name | Description | |
---|---|---|
ClearCache |
Clear the cache (typically mapping to System.Reflection or,
if the current element is a reference, to the related definition)
of the current Element and all its children.
(Inherited from Element.) | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides Object.Equals(Object).) | |
Equals(DelegateSignature) | Indicates whether the current object is equal to another object of the same type. | |
GetHashCode | Serves as the default hash function. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The types used to define a signature can be valid inside a different
module than the one into which the delegate shall be generated. The
[!:DelegateBuilder] utility translates types automatically.