public RuleResult CheckMethod(MethodDefinition method)
            {
                var a = OpCodeEngine.GetBitmask(SimpleMethods.EmptyMethod);
                var b = NamespaceEngine.Exists("TestNamespace");

                return(RuleResult.Success);
            }
 public void DoSomethingNew()
 {
     var a = OpCodeEngine.GetBitmask(SimpleMethods.EmptyMethod);
     var b = NamespaceEngine.Exists("TestNamespace");
 }
예제 #3
0
 static private bool IsTypeFromAlienNamespace(TypeReference type)
 {
     return(!NamespaceEngine.Exists(type.Namespace));
 }