Skip to content

Diagnostic IDs

Reference documentation for compiler diagnostics emitted by Forge platform libraries.


Security Configuration

ID Description
SAIFSECURITY001 Security configuration API is experimental

Environment Configuration

ID Description
SAIFENV001 SAIF environment API is experimental

Suppressing Diagnostics

To suppress a diagnostic, use one of these approaches:

In Code

#pragma warning disable SAIFSECURITY001
// Code that uses experimental APIs
#pragma warning restore SAIFSECURITY001

In Project File

<PropertyGroup>
  <NoWarn>$(NoWarn);SAIFSECURITY001</NoWarn>
</PropertyGroup>

With Attribute

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
    "Usage",
    "SAIFSECURITY001:Type is for evaluation purposes only")]

Feedback

If you encounter issues with any diagnostic or have suggestions for improvements, please file an issue in the Forge repository.