Skip to content

C# generator generates code that contains compiler warnings  #967

Closed

Description

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?' 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions