Generate C# code for inteface but get class

I define an inteface and some other class in uml. when I try generate C# code I get class declaration but not an interface.
// IAnimal.cs
using System;
namespace Animals {
public class IAnimal {
public void Move() {
throw new System.Exception(“Not implemented”);
}

}

}

//cat.cs
using System;
namespace Animals {
public class Cat {
private void Run() {
throw new System.Exception(“Not implemented”);
}

}

}

what I want is like this:
// IAnimal .cs
using System;
namespace Animals {
public interface IAnimal {
void Move() ;
}
}

only version 15.X . 14.0 gives what I want.

Hi fietiger,

Are you using Instant Generator or Visual Studio Integration code synchronization?
Can you attach your class diagram?

I am using Instant Generator.Class diagram is so simple.1565599929(1)

I forwarded your reported issue to our engineer team.
Once it is fixed, I will notify you.

I would like to let you know the wrongly generate interface as class problem has been fixed. Please update the software to latest patch build (build 20190920ak or later for v16.0, or build 20190920ab or later for v15.2) to get the problem fixed. Details about update to latest patch can be found at

  • Please make sure you have pressed the “Update to latest patch” button on the left hand side of the dialog right after launching the update program

Feel free to contact me if you require any further information.