diff options
author | Mikhail Melnikov <mikhail_melnikov@epam.com> | 2017-12-12 11:47:04 +0300 |
---|---|---|
committer | Joel Martinez <joelmartinez@gmail.com> | 2017-12-12 19:42:39 +0300 |
commit | 324ae11e286741020e3539cdba8fcf03373ba08f (patch) | |
tree | 9683bb6fe94fe7793426e5df7ea52412e33dad88 /mdoc/Test/TestInterfaceImplementation | |
parent | b8acf9ec5bae8e54da5f9b73e734415aa2e3ac06 (diff) |
[mdoc] fix breaks with a key not found exception under when a class implements a destructor
Removed `!isExplicitlyImplemented` when we check if there is a fingerprint among implemented interfaces members:
```
if (!allImplementedMembers.ContainsKey(fingerprint))
{
ClearElement(root, "Implements");
return;
}
```
Now explicitly implemented members have signatures in allImplementedMembers too.
Added a destructor method to Class6 in the integration test `check-monodocer-members-implementation`
Closes #158
Diffstat (limited to 'mdoc/Test/TestInterfaceImplementation')
-rw-r--r-- | mdoc/Test/TestInterfaceImplementation/Class6.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc/Test/TestInterfaceImplementation/Class6.cs b/mdoc/Test/TestInterfaceImplementation/Class6.cs index f1e12432..a2d009fa 100644 --- a/mdoc/Test/TestInterfaceImplementation/Class6.cs +++ b/mdoc/Test/TestInterfaceImplementation/Class6.cs @@ -26,5 +26,7 @@ namespace TestInterfaceImplementation { throw new System.NotImplementedException(); } + + ~Class6() { } } }
\ No newline at end of file |