C#/InlineCache: Refactor, faster and with less code