Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ internal static class SingletonDiagnostics

public static readonly DiagnosticDescriptor DuplicateCustomInterface = new DiagnosticDescriptor(
id: "ERG0010",
title: "[Singleton] interface already owned by another class",
messageFormat: "Class '{0}' shares singleton interface '{1}' with another [Singleton] class. Only one class can own a given singleton interface.",
title: "[Singleton] interface shared with another class",
messageFormat: "Class '{0}' shares singleton interface '{1}' with another [Singleton] class. This can cause issues — use with caution.",
category: Category,
defaultSeverity: DiagnosticSeverity.Error,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: true);
}
}
Binary file not shown.