unit tw20872a; {$MODE delphi} interface type TWrapper = class end; TTestClass = class strict private FWrapper: TWrapper; { Using inline specialization } public constructor Create; destructor Destroy; override; end; implementation constructor TTestClass.Create; begin FWrapper := TWrapper.Create; { Duplicate identifier error here } end; destructor TTestClass.Destroy; begin FWrapper.Free; end; end.