Home / Vulnerability Database / C-sharp : ICloneable interface
C#
C-sharp : ICloneable interface
Overview
The class implements the ICloneable interface.
Implement the ICloneable interface is usually considered to be a bad practice, because the interface supports cloning, which creates a new instance of a class with the same value as an existing instance but it does not specify whether the cloning operation performs a deep copy, a shallow copy, or something in between. Because of this different classes may have different implementations, which may lead to undefined behavior of the application.
LOW
DerScanner Severity Score
Do you want to fix C-sharp : ICloneable interface in your application?
See also
C#
C-sharp : JWT: None Algorithm
C#
C-sharp : Insecure data transmission: Database
C#
