CSharpProcedural.

AppendObsoleteDeclaration(StringBuilder, int, MemberInfo, string, bool) Method

Summary

Appends the C# declaration of a member with a signature matching the specified `member` and an [Obsolete] attribute.

Syntax

public static void AppendObsoleteDeclaration(StringBuilder text, int indent, MemberInfo member, string obsoleteMessage = "", bool error = false)

Parameters

Name Type Description
text StringBuilder
indent int
member MemberInfo
obsoleteMessage string
error bool

Return Value

Type Description
void