Show / Hide Table of Contents

Class DisassemblyDiagnoserAttribute

Inheritance
Object
Attribute
DisassemblyDiagnoserAttribute
Implements
IConfigSource
Inherited Members
Attribute.Equals(Object)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, Boolean)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, Boolean)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, Boolean)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, Boolean)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, Boolean)
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, Boolean)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module, Type, Boolean)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Boolean)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, Boolean)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, Boolean)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, Boolean)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, Boolean)
Attribute.Match(Object)
Attribute.TypeId
Namespace: BenchmarkDotNet.Attributes
Assembly: BenchmarkDotNet.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class DisassemblyDiagnoserAttribute : Attribute, IConfigSource

Constructors

DisassemblyDiagnoserAttribute(Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Declaration
public DisassemblyDiagnoserAttribute(int maxDepth = 1, bool printSource = false, bool printInstructionAddresses = false, bool exportGithubMarkdown = true, bool exportHtml = false, bool exportCombinedDisassemblyReport = false, bool exportDiff = false)
Parameters
Type Name Description
Int32 maxDepth

Includes called methods to given level. 1 by default, indexed from 1. To print just the benchmark set it to 0.

Boolean printSource

C#|F#|VB source code will be printed. False by default.

Boolean printInstructionAddresses

Print instruction addresses. False by default

Boolean exportGithubMarkdown

Exports to GitHub markdown. True by default.

Boolean exportHtml

Exports to HTML with clickable links. False by default.

Boolean exportCombinedDisassemblyReport

Exports all benchmarks to a single HTML report. Makes it easy to compare different runtimes or methods (each becomes a column in HTML table).

Boolean exportDiff

Exports a diff of the assembly code to the Github markdown format. False by default.

Properties

Config

Declaration
public IConfig Config { get; }
Property Value
Type Description
IConfig

Implements

IConfigSource
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors