Module Chaining

Provides detection of callables designed for chaining.

For example stringBuilder.Append(x).Append(y) is a chained call, where the Append method is chained.

Import path

semmle.code.csharp.Chaining

Imports

csharp

The default C# QL library.

Predicates

designedForChaining

Holds if callable c is designed for chaining. The following must be fulfilled: