C#: Autoformat QL code

This commit is contained in:
Tom Hvitved
2019-02-04 10:32:30 +01:00
parent 6243c722c6
commit 910995af90
13 changed files with 1528 additions and 1652 deletions

View File

@@ -55,11 +55,7 @@ predicate alwaysDefaultToString(ValueOrRefType t) {
overriding.getAMethod() instanceof ToStringMethod and
overriding.getABaseType+() = t
) and
(
(t.isAbstract() or t instanceof Interface)
implies
not t.isEffectivelyPublic()
)
((t.isAbstract() or t instanceof Interface) implies not t.isEffectivelyPublic())
}
newtype TDefaultToStringType = TDefaultToStringType0(ValueOrRefType t) { alwaysDefaultToString(t) }