Rosetta icon indicating copy to clipboard operation
Rosetta copied to clipboard

Support Auto Properties

Open moh-hassan opened this issue 6 years ago • 1 comments

The following c# code raise an error:

          public string userName {get;set;} 
		  

An error occurred! Error details below: An error occurred: Value cannot be null. Parameter name: node! at Rosetta.AST.ASTWalker..ctor(CSharpSyntaxNode node, SemanticModel semanticModel) in F:\github-projects\Rosetta\src\ASTWalker\walkers\ASTWalker.cs:line 35 ....

It's nice if you show the c# code fragment to know where error in source file on console or log file.

Can you show in read.me file what c# version the tool support: c#3/c#4/c#5/c#6/c#7.x

moh-hassan avatar Nov 19 '18 15:11 moh-hassan

I'm gonna have a look for auto-properties. ATM the development is halted as my Team is not in need of the translation feature but only the definition generation.

Regarding the error logging, that is a valid point. Will make that happen. Will leave this open as a reminder.

andry-tino avatar Nov 25 '18 10:11 andry-tino