因此,请仔细考虑是否禁用代码分析。
Therefore, consider carefully whether to disable code analysis.
为项目启用或禁用代码分析。
当禁用代码访问安全性时,所有代码访问要求都会成功。
When code access security is disabled, all code access demands succeed.
若要修复此错误,请从该项目中移除此文件或者禁用代码分析功能。
To fix this error, remove the file from the project or disable code analysis.
禁用代码访问安全性会使系统容易受到恶意代码(如病毒和蠕虫)的攻击。
Disabling code access security makes the system vulnerable to attacks by malicious code such as viruses and worms.
“配置”列表结合使用时,可以决定为调试版本禁用代码分析,而为发布版本启用代码分析。
Configuration list, you could, for example, decide to disable Code Analysis for debug builds and enable it for release builds.
然而,在遗留代码上禁用这些选项会有风险,因为它们可能取决于其设置来实现正确执行。
Disabling these options on legacy code can be risky, however, since they may be depending upon them being set for proper execution.
甚至当跟踪禁用时,您的代码将在每个跟踪点至少调用一个日志记录器方法。
Even when trace is disabled, your code will call at least one logger method per trace point.
因为我们没有构建文件编辑的插件所以代码也禁用编辑器区域。
The code also disables the editor area since we are not building a plug-in to edit files.
代码设置了某种配置,例如大小和标题,并且禁用某种缺省项。
The code sets certain configurations, such as the size and title, and also disables certain default items.
在本文后面,我们还将编写代码来在需要的时候逐个启用和禁用这些选项卡。
Later on, you'll write code to enable the disabled tabs one at a time when they're needed.
此外,有些实现不支持跳板代码,因此可能必须对需要这种保护的程序禁用该特性。
Also, some implementations don't support trampolines, so the protection may have to be disabled for programs that need them.
在本专栏文章中,通过演示两种不同的方式来启用和禁用断言以便优化代码测试和性能,我将向您讲述一些有关向代码中添加断言的基本知识。
In this column, I'll show you the basics of adding assertions to your code, demonstrating a couple of different ways to enable and disable them for optimum code testing and performance.
尤其是,不要试图禁用新窗口的状态栏或URL 栏;这无疑是在邀请恶意代码侵害您的用户。
Most especially, don't even try to suppress the status or URL bars of a new window; that's just asking for malicious code to phish your users.
当代码禁用中断时,节拍将不能归结到代码,直到中断被重新启用。
When code disables interrupts, the ticks will not be attributed to the code until the point where the interrupts are re-enabled.
这个Makefile中包含需要编译的源文件的列表,并且它还包括启用或者禁用并选择SQLite包中的某些代码片段的常数。
The Makefile contains a list of source files to build, and it also includes constants that enable or disable and choose certain snippets of code in the SQLite package.
清单15 中的第二个代码片段使用了HTMLselectBooleanCheckbox,以便动态处理禁用或启用验证操作。
The second snippet of code in Listing 15 makes use of an HTML selectBooleanCheckbox to dynamically handle disabling or enabling validation.
当代码投入生产时,很可能将禁用Xdebug,呈现这个变量将不会造成什么损失。
When the code moves to production, Xdebug is likely to be disabled, rendering this variable harmless.
如果想使用PropertyBroker和该框架之外的操作,可能需要提供正确启用和禁用操作和连接的代码。
If you intend to use the Property Broker and actions outside this framework, you may need to provide code that properly enables and disables actions and wires.
注意,在调试时,建议在每个调试会话之前通过IEDeveloperToolbar禁用缓存,否则后面会调试缓存版本的代码。
Note that when debugging, it is recommended to disable the cache via the IE Developer Toolbar before every debug session or you will be debugging cached versions of your code.
请注意,在包含dynamic_cast或者typeid的代码中禁用rtti,可能会产生一些负面的影响,包括代码崩溃。
Note that disabling RTTI in a code that contains dynamic_cast or typeid might produce undesirable effects, including code crash.
由于云运行在相对较慢的硬件上,因此最好禁用这一功能,除非您在修改代码时确实需要了解代码中发生的行为。
Because the cloud runs on relatively slow hardware, it is good to leave this functionality shut off unless you really need to see what's happening in the code while you're modifying it.
要禁用这些函数,编程人员可添加以下#pragma代码行到头文件,编译器每一次遇到该行代码的时候都会发出警告。
To start banning these functions one should add the following #pragma line to a header file and the compiler will issue a warning every time it encounters one of them
这段代码告诉ActiveScaffold要限制对这个scaffold 的搜索 —— 只允许使用用户的姓和名进行搜索,禁用全文搜索。
This code tells ActiveScaffold to limit searching on this scaffold to the user's first and last name and disables full text search.
要禁用异常处理,您需要从源代码中删除所有的try和catch块,并使用 /GX-选项编译代码。
To disable exception handling, you need to remove all try and catch blocks from the sources and compiling the code using the /GX- option.
如果源代码没有使用dynamic_cast或者typeid操作符,那么就可以禁用运行时类型识别(RTTI)。
If the sources don't use dynamic_cast or the typeid operator, Run Time type Identification (RTTI) might be disabled.
“解决方案资源管理器”中,单击要对其启用或禁用静态代码分析的数据库项目。
Solution Explorer, click the database project for which you want to enable or disable static code analysis.
但是,请注意,此功能是一个双刃剑:失控代码可以禁用看门狗,然后继续横行。
Note, however, that this capability is a double-edged sword: runaway code can disable the watchdog and then continue its rampage.
“配置”列表中,单击在生成项目时要对其启用或禁用静态代码分析的配置。
Configuration list, click the configuration for which you want to enable or disable static code analysis when the project is built.
可以添加预处理器指令以禁用团队项目中单个代码项目的特定规则。
You can add pre-processor directives to disable specific rules for the individual code projects in your team project.
应用推荐