Sergey Teplyakov
Sergey Teplyakov
Exception factory methods could be considered as well. They're not that popular, but they're in use in the industry.
Not sure about this warning... Living it for now.
Hey, @benaadams , sorry for the late reply, I completely missed this bug. It seems that `MakeGenericType` just "works" on .NET Framework for ref structs, but fails on .NET Core....
Да, я некоторые уменьшил, а некоторые нет. Это нужно будет с издательством решать, как это лучше сделать.
Hey, @sharwell, could you share the details? I'm curious what this bug is all about:)
I"m curious, does it make sense to have two fixers in this case? One per type and one global?
One possible (I guess still silly) solution could be by introducing `[Checked(typeof(YourException))]` attribute or `[Throws(typeof(YourException))]`. In this case, every method that explicitly throws an exception (other than `ArgumentException`) should specify...
Some ideas about cross method analysis could be found here: https://github.com/mattwar/nullaby
@citizenmatt Will update the plug-in as soon as possible.
Да, пример искусственный. Проблема в том, что мне довольно сложно привести пример кастомной коллекции... Пока тогда так: раздел - оставляем. Если придет на ум более вменяемый пример - меняем пример....