Class Signature
- Namespace
- CilFi
- Assembly
- CilFi.Core.dll
Defines a signature that matches a method in a .NET binary.
public record Signature : IEquatable<Signature>
- Inheritance
-
Signature
- Implements
- Inherited Members
Constructors
Signature(Signature)
protected Signature(Signature original)
Parameters
originalSignature
Signature(string, string?, string?, Pattern<MethodDefinition>)
Defines a signature that matches a method in a .NET binary.
public Signature(string Name, string? Author, string? Description, Pattern<MethodDefinition> Pattern)
Parameters
NamestringThe name of the signature.
AuthorstringThe author(s) of the signature.
DescriptionstringThe description of the signature.
PatternPattern<MethodDefinition>The pattern to match the method on.
Properties
Author
The author(s) of the signature.
public string? Author { get; init; }
Property Value
Description
The description of the signature.
public string? Description { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
The name of the signature.
public string Name { get; init; }
Property Value
Pattern
The pattern to match the method on.
public Pattern<MethodDefinition> Pattern { get; init; }
Property Value
Methods
Deconstruct(out string, out string?, out string?, out Pattern<MethodDefinition>)
public void Deconstruct(out string Name, out string? Author, out string? Description, out Pattern<MethodDefinition> Pattern)
Parameters
NamestringAuthorstringDescriptionstringPatternPattern<MethodDefinition>
Equals(Signature?)
public virtual bool Equals(Signature? other)
Parameters
otherSignature
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Signature?, Signature?)
public static bool operator ==(Signature? left, Signature? right)
Parameters
Returns
operator !=(Signature?, Signature?)
public static bool operator !=(Signature? left, Signature? right)