Open sandboxFocus

Method SuppressUnusedWarnings

SuppressUnusedWarnings(IAspectBuilder, IFieldOrProperty)

Suppress the warning CS0169 ("The private field is never used.") on a member that is being introduced. This is primarily useful for design-time.

Declaration
public static void SuppressUnusedWarnings(IAspectBuilder builder, IFieldOrProperty introducedMember)
Parameters
Type Name Description
IAspectBuilder builder
IFieldOrProperty introducedMember