Files
codeql/csharp/ql/test/library-tests/partial/PartialMethodBody.ql
2020-08-18 10:26:31 +02:00

8 lines
182 B
Plaintext

import csharp
private boolean hasBody(Method m) { if m.hasBody() then result = true else result = false }
from Method m
where m.fromSource() and m.isPartial()
select m, hasBody(m)