Skip to content

C# generator generates code that contains compiler warnings  #967

@hovsepm

Description

@hovsepm

This is true even in AutoRest repo. e.g.

msbuild build.proj /t:Build
.....
\AutoRest\Generators\CSharp\CSharp.Tests\Expected\AcceptanceTests\CompositeBoolIntClient\IntModel.cs(815,16): warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?' 

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions