[CheckId] CA2128 [Warning] CA2147: Transparent methods may not use security asserts [Description] 
This rule analyzes all methods and types in an assembly that is either 100 percent−transparent or mixed transparent/critical, and flags any declarative or imperative use of Assert.