Query module ExposeRepresentation

name
Exposing internal representation
description
An object that accidentally exposes its internal representation may allow the object’s fields to be modified in ways that the object is not prepared to handle.
kind
problem
problem.severity
recommendation
precision
high
id
cs/expose-implementation
tags
reliability external/cwe/cwe-485

Imports

Collections

Provides classes for collections.

DataFlow
csharp

The default C# QL library.

Predicates