You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a class is using a lambda expression for a function, the analysis fails.
The class does not show the complexity numbers near the code.
Example:
publicclassSpecProgram:Program{privatereadonlyProgram_program;privatereadonlyDialect_dialect;publicSpecProgram(Programprogram):this(program,newSpecDialect()){}publicSpecProgram(Programprogram,Dialectdialect){_program=program;_dialect=dialect;}publicstringKey()=>_program.Key();//This leads to failure, removing it makes the analysis workpublicICollection<Command>Commands(){return_program.Commands().Select(c =>newSpecCommand(c,_dialect)).ToList<Command>();}publicICollection<Instruction>Parameters(){return_program.Parameters();}}
The text was updated successfully, but these errors were encountered:
If a class is using a lambda expression for a function, the analysis fails.
The class does not show the complexity numbers near the code.
Example:
The text was updated successfully, but these errors were encountered: