I'm making use of Microsoft.Interop.Security.AzRoles. I may catch a COMException in some locations. Would this make some of my code considered as unmanaged? In other words, does accessing COM related assemblies mean you are doing unmanaged code? Seems you still get garbage collection.
Would unmanaged code be only anything using the DLLImport or unsafe blocks?