Skip to content

Commit 432ac7a

Browse files
committed
C#: Deprecate the StructuralComparisonConfig class.
1 parent 5a4a975 commit 432ac7a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

csharp/ql/lib/semmle/code/csharp/commons/StructuralComparison.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ predicate sameGvn(ControlFlowElement x, ControlFlowElement y) {
200200
}
201201

202202
/**
203+
* DEPRECATED: Use `sameGvn` instead.
204+
*
203205
* A configuration for performing structural comparisons of program elements
204206
* (expressions and statements).
205207
*
@@ -208,7 +210,7 @@ predicate sameGvn(ControlFlowElement x, ControlFlowElement y) {
208210
*
209211
* Each use of the library is identified by a unique string value.
210212
*/
211-
abstract class StructuralComparisonConfiguration extends string {
213+
abstract deprecated class StructuralComparisonConfiguration extends string {
212214
bindingset[this]
213215
StructuralComparisonConfiguration() { any() }
214216

0 commit comments

Comments
 (0)