XS0102 error: The type 'XXXX' already contains a definition for 'YYYY'
Posted: Sun Jan 09, 2022 7:44 pm
Hi all,
after using VoXPorter I get tons of errors "XS0102: The type 'XXXX' already contains a definition for 'YYYY'"
Interestingly enough, I did not find any resolution in the documents nor in the forum.
I have a lot of PROTECT variables in my classes that I access and assign as follows:
Of course I can refactor and create getters and setters as follows:
But before I do that I wanted to double check that this is the only option as this is pretty error-prone and exhausting when I am doing that in VO.
Any thoughts would be helpful
Best,
Alex
after using VoXPorter I get tons of errors "XS0102: The type 'XXXX' already contains a definition for 'YYYY'"
Interestingly enough, I did not find any resolution in the documents nor in the forum.
I have a lot of PROTECT variables in my classes that I access and assign as follows:
Code: Select all
CLASS A
PROTECT VarA
ACCESS VarA
return self:VarA
Assign VarA(value)
self:VarA:=value
Code: Select all
ACCESS getVarA
return self:VarA
Assign setVarA(value)
self:VarA:=value
Any thoughts would be helpful
Best,
Alex