Android Guides | Samples

Java.Lang.ISuppressWarnings

Annotation type used to indicate that the compiler should not issue the specified warnings for the marked program element.

See Also: ISuppressWarnings

Syntax

[Android.Runtime.Register("java/lang/SuppressWarnings", "", "Java.Lang.ISuppressWarningsInvoker")]
public interface ISuppressWarnings : IAnnotation, IDisposable

Remarks

Annotation type used to indicate that the compiler should not issue the specified warnings for the marked program element. Warnings are not only suppressed for the annotated element but also for all program elements contained in that element.

It is recommended that programmers always use this annotation on the most deeply nested element where it is actually needed.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.ISuppressWarnings are listed below.

Public Methods