ANTS Performance Profiler

Latest version: 7.4

ANTS Performance Profiler

Knowledge base

Enabling line-level timings for SecurityTransparent code

Date: 11/05/2012
Product: ANTS Performance Profiler

ANTS Performance Profiler will not show line-level profiling results for methods from any module marked as SecurityTransparent (or, in .NET 3.5 and earlier, marked as partially trusted). ANTS Performance Profiler shows method-level timings for these methods, even if you have selected a line-level profiling mode.

To enable line-level timings for SecurityTransparent or partially trusted modules, modify the assembly and then profile the application again:

  1. Remove the AllowPartiallyTrustedCallers attribute from the profiled assembly and from any of its dependencies.
  2. Increase the code's trust level:
  3. Rebuild and profile the application again.

Was this article helpful?

Search support
Forums

ANTS Performance Profiler

all products