E2441 Inline function declared in interface section must not use local symbol '%s' (Delphi)
Go Up to Error and Warning Messages (Delphi)
This error occurs when an inline function is declared in the interface section and it refers to a symbol that is not visible outside the unit. Expanding the inline function in another unit would require accessing the local symbol from outside the unit, which is not permitted.
To correct this error, move the local symbol declaration to the interface section, or make it an instance variable or class variable of the function's class type.