Updated Template for new dotnet runtime

- Added Submodule 'Xml-Beef'
- Use .slnx as solution-file
- Automatically set correct path to ScriptCore in Project files
This commit is contained in:
Simon Lübeß
2025-08-09 01:13:05 +02:00
parent 52cbf9dcf4
commit ac0f4dade6
20 changed files with 243 additions and 162 deletions
@@ -34,5 +34,16 @@ namespace System
{
SetF((IFormatProvider)null, format, params args);
}
public int PreviousIndexOf(StringView subStr, int endIdx, bool ignoreCase = false)
{
for (int ofs = endIdx - subStr.Length; ofs > 0; ofs--)
{
if (Compare(Ptr+ofs, subStr.Length, subStr.Ptr, subStr.Length, ignoreCase) == 0)
return ofs;
}
return -1;
}
}
}