NullabilityInference icon indicating copy to clipboard operation
NullabilityInference copied to clipboard

Crashing on documentation comment types

Open piksel opened this issue 4 years ago • 0 comments

Hello! I tried running InferNull on the SharpZipLib source and it failed with a duplicate key exception. I added some debugging output to see what is going on, and it seems like it chokes on the documentation comment types: image

Perhaps this is a known issue? I will try substituting the missing SyntaxTypes to continue testing.

The initial duplicate key exception was thrown in ICSharpCode.NullabilityInference.SyntaxToNodeMapping.CreateNewNode() and the missing key was in ICSharpCode.NullabilityInference.SyntaxToNodeMapping[TypeSyntax syntax]

piksel avatar Aug 05 '20 16:08 piksel