Sdílet prostřednictvím


Compilerwarnung (Stufe 1) CS1645

Aktualisiert: November 2007

Fehlermeldung

Das Feature "Feature" ist nicht Teil der C#-Sprachspezifikation nach ISO-Norm und wird daher möglicherweise nicht von anderen Compilern angenommen.
Feature 'feature' is not part of the standardized ISO C# language specification, and may not be accepted by other compilers

Das von Ihnen verwendete Feature ist nicht Bestandteil der ISO-Norm. Code, der diese Feature enthält, wird von anderen Compilern u. U. nicht kompiliert.

// CS1645.cs
// compile with: /W:1 /t:module /langversion:ISO-1
[assembly:System.CLSCompliant(false)]
// To supress the warning use the switch: /nowarn:1645
[module:System.CLSCompliant(false)]   // CS1645
class Test
{
}