net10.0
namespace Microsoft.CodeAnalysis
{
    [DebuggerDisplay("{GetDebuggerDisplay(), nq}")]
    public abstract class Diagnostic : IEquatable<Diagnostic?>, IFormattable
    {
        public static Diagnostic! Create(string! id, string! category, LocalizableString! message, DiagnosticSeverity severity, DiagnosticSeverity defaultSeverity, bool isEnabledByDefault, int warningLevel, bool isSuppressed, LocalizableString? title = null, LocalizableString? description = null, string? helpLink = null, Location? location = null, IEnumerable<Location!>? additionalLocations = null, IEnumerable<string!>? customTags = null, ImmutableDictionary<string!, string?>? properties = null);
    }
}
nuget.org
0.0 %
Reference this API
.NET
8.09.010.0
Information specific to net10.0
Assembly

Microsoft.CodeAnalysis , Version=5.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.CodeAnalysis.Common.

Package Microsoft.CodeAnalysis.Common (5.0.0) net9.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API