Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
MethodSignature.cs
Go to the documentation of this file.
2
4
5public readonly struct MethodSignature<TType>
6{
7 public SignatureHeader Header { get; }
8
9 public TType ReturnType { get; }
10
11 public int RequiredParameterCount { get; }
12
13 public int GenericParameterCount { get; }
14
16
17 public MethodSignature(SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, ImmutableArray<TType> parameterTypes)
18 {
19 Header = header;
20 ReturnType = returnType;
21 GenericParameterCount = genericParameterCount;
22 RequiredParameterCount = requiredParameterCount;
23 ParameterTypes = parameterTypes;
24 }
25}
MethodSignature(SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, ImmutableArray< TType > parameterTypes)