public Identifier TypeExtractor(IdContainer Container, ref CodeString Code) { if (TypeCodes == null) { return(null); } var OldCode = Code; var Global = Container.GlobalContainer; var State = Container.State; var EndStr = Code.EndStr(LetterCase.OnlyLower); Code = Code.Substring(0, Code.Length - EndStr.Length); if (EndStr.Length > 0) { for (var i = 0; i < TypeCodes.Length; i++) { if (TypeCodes[i].String == EndStr) { return(TypeCodes[i].Identifier); } } } Code = OldCode; return(null); }