Azure Notifications CLS Compliance

Marc George 1 Reputation point
2022-05-01T11:36:12.977+00:00

Why are the following classes not CLS compliant?

1>Z:\IC\VS2022\SentryServices-Dev\WWW\AsyncNotifications.cs(49,83,49,105): warning CS3001: Argument type 'AppleNotification' is not CLS-compliant
1>Z:\IC\VS2022\SentryServices-Dev\WWW\AsyncNotifications.cs(59,81,59,102): warning CS3001: Argument type 'FcmNotification' is not CLS-compliant
1>Z:\IC\VS2022\SentryServices-Dev\WWW\NotificationHandler.cs(18,91,18,97): warning CS3001: Argument type 'WindowsNotification' is not CLS-compliant
1>Z:\IC\VS2022\SentryServices-Dev\WWW\NotificationHandler.cs(39,89,39,101): warning CS3001: Argument type 'AppleNotification' is not CLS-compliant
1>Z:\IC\VS2022\SentryServices-Dev\WWW\NotificationHandler.cs(60,87,60,99): warning CS3001: Argument type 'FcmNotification' is not CLS-compliant

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,114 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,180 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,009 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,299 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.