void CheckTypeCreation(MethodDefinition method, Instruction ins, TypeReference type)
        {
            if (!IsObsolete (type))
                return;

            string msg = String.Format (CultureInfo.InvariantCulture, "Type '{0}' is obsolete.", type);
            Severity severity = type.IsVisible () ? Severity.Medium : Severity.Low;
            Runner.Report (method, ins, severity, Confidence.High, msg);
        }