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
The problem there is that it just will not early-exit for struct--it will keep climbing the tree right up to the compilation syntax and crash when the node is null. The crash actually will only occur when the Random instantiation is not in a loop because it returns as soon as it reports the diagnostic.
Right now it seems like we're not account for this to happen in a struct. Concerns this line at https://github.com/VSDiagnostics/VSDiagnostics/blob/develop/VSDiagnostics/VSDiagnostics/VSDiagnostics/Diagnostics/General/LoopedRandomInstantiation/LoopedRandomInstantiationAnalyzer.cs#L45:
The text was updated successfully, but these errors were encountered: