Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetLocalSignature() [1/2]

unsafe void System.Reflection.Emit.DynamicILInfo.SetLocalSignature ( byte * localSignature,
int signatureSize )
inline

Definition at line 92 of file DynamicILInfo.cs.

93 {
94 if (signatureSize < 0)
95 {
96 throw new ArgumentOutOfRangeException("signatureSize", SR.ArgumentOutOfRange_GenericPositive);
97 }
98 if (signatureSize > 0 && localSignature == null)
99 {
100 throw new ArgumentNullException("localSignature");
101 }
102 m_localSignature = new Span<byte>(localSignature, signatureSize).ToArray();
103 }

References System.SR.ArgumentOutOfRange_GenericPositive, System.Reflection.Emit.DynamicILInfo.m_localSignature, and System.Span< T >.ToArray().