// Note: This class isn't used by Mono as all algorithms are provided with
// 100% managed implementations.
+ [ComVisible (true)]
public sealed class CryptoAPITransform : ICryptoTransform {
private bool m_disposed;
m_disposed = false;
}
-#if ! NET_2_0
- ~CryptoAPITransform ()
- {
- Dispose (false);
- }
-#endif
public bool CanReuseTransform {
get { return true; }
get { return 0; }
}
+#if NET_4_0
+ public void Dispose ()
+#else
void IDisposable.Dispose ()
+#endif
{
Dispose (true);
GC.SuppressFinalize (this); // Finalization is now unnecessary
return null;
}
-#if NET_2_0
[ComVisible (false)]
public void Reset ()
{
}
-#endif
}
}