Preparation for Support .NET 4 or 4.5

* All: Simplify the process to determine whether the method is called indirectly. Because it is unnecessary that to confirm that the calling CoCreateInstance may begin.