Relative Content

Tag Archive for c#idisposableprimary-constructor

Primary constructor and IDisposable

IDE0290 suggests the use of primary constructors, but if one of the parameters happens to a IDisposable injected and you use readonly backup fields to store them, a CA2213 warning is generated