Click or drag to resize

ExtensionsToBetterString Method

Actually useful version of ToString() for Cecil's CustomAttribute type. The ToString() provided by Cecil simply dumps the type of Mono.Cecil.CustomAttribute instead of showing anything about the instanced CustomAttribute itself.

Namespace:  com.tiberiumfusion.ttplugins
Assembly:  TTPlugins (in TTPlugins.dll) Version: 1.2.0.1 (1.2.0.1)
Syntax
public static string ToBetterString(
	this CustomAttribute attribute
)

Parameters

attribute
Type: CustomAttribute
The CustomAttribute to stringify.

Return Value

Type: String
A string that resembles the way the attribute would have been typed in its source code.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CustomAttribute. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also