If you are using the [MustDisposeResourceAttribute] from JetBrains.Annotations to enforce resource disposal in the calling code, you should be aware that the annotation is not inherited if it is placed on a constructor of a base class. This design is motivated by the fact that the derived class may handle the disposal of the resource. In other cases, you need to explicitly annotate the derived class or its constructor with the [MustDisposeResourceAttribute] to notify its users of the necessity to dispose the resource.
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.