Table of Contents

This type already contains a property with the name "{0}" (AJTERR10059)

Product(s) Karo.Net Compiler

Description

A property in a type was declared, although one with the same name already exists.

test: string := "";
test: string := "";/*
^^^^ A property with this name was already defined */

testFunction ||: void { }
testFunction ||: void { }/*
^^^^^^^^^^^^ A property with this name was already defined */

How can I resolve this error?

Use distinct names for every property.