mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
C#: Autoformat QL code
This commit is contained in:
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user