inline SetDerivedDataString (used only once)

This commit is contained in:
Michael Becker 2025-07-18 22:56:47 -04:00
parent c5c06fe468
commit 80127b4399

View File

@ -103,7 +103,7 @@ namespace Mocha.Core
{ {
ClassIndex = ci; ClassIndex = ci;
InstanceIndex = -1; InstanceIndex = -1;
SetDerivedDataString(split[1]); _derivedDataString = split[1];
_isNotEmpty = true; _isNotEmpty = true;
} }
return; return;
@ -124,11 +124,6 @@ namespace Mocha.Core
throw new ArgumentException("must be a string containing two integers separated by a '$' or a '!'"); throw new ArgumentException("must be a string containing two integers separated by a '$' or a '!'");
} }
private void SetDerivedDataString(string base64String)
{
_derivedDataString = base64String;
}
public InstanceKey(int classIndex, int instanceIndex) public InstanceKey(int classIndex, int instanceIndex)
{ {
ClassIndex = classIndex; ClassIndex = classIndex;