Transparent method {0} references security critical type {1}. In order for this reference to be allowed under the security ...