diff --git a/.openpublishing.redirection.fundamentals.json b/.openpublishing.redirection.fundamentals.json index c0c1dd8542380..5b5ea56405ee9 100644 --- a/.openpublishing.redirection.fundamentals.json +++ b/.openpublishing.redirection.fundamentals.json @@ -568,6 +568,10 @@ { "source_path_from_root": "/docs/fundamentals/networking/http/http-autoclient.md", "redirect_url": "/dotnet/fundamentals/networking/http/http-overview" + }, + { + "source_path_from_root": "/docs/fundamentals/syslib-diagnostics/syslib5003.md", + "redirect_url": "/dotnet/fundamentals/syslib-diagnostics/syslib5003" } ] } diff --git a/docs/fundamentals/syslib-diagnostics/source-generator-overview.md b/docs/fundamentals/syslib-diagnostics/source-generator-overview.md index 2b34cfaf71162..9e0317d53f4f4 100644 --- a/docs/fundamentals/syslib-diagnostics/source-generator-overview.md +++ b/docs/fundamentals/syslib-diagnostics/source-generator-overview.md @@ -312,4 +312,4 @@ The following table provides an index to the `SYSLIB1XXX` diagnostics in .NET 6 [1227]: syslib1220-1229.md [1228]: syslib1220-1229.md [1229]: syslib1220-1229.md -[1230]: syslib1230.md +[1230]: syslib1230.md \ No newline at end of file diff --git a/docs/fundamentals/syslib-diagnostics/syslib5003.md b/docs/fundamentals/syslib-diagnostics/syslib5003.md new file mode 100644 index 0000000000000..551fc02dc8f71 --- /dev/null +++ b/docs/fundamentals/syslib-diagnostics/syslib5003.md @@ -0,0 +1,24 @@ +--- +title: SYSLIB5003 warning +description: Learn about the diagnostic that generates compile-time warning SYSLIB5003. +ms.date: 11/01/2024 +f1_keywords: + - syslib5003 +--- + +# SYSLIB5003: SVE is a preview feature can be used by enabling EnablePreviewFeatures flag + +In .NET 9, the first set of non-streaming SVE APIs were introduced and annotated with the . This attribute indicates that both the internal implementation and the generated code for SVE might undergo changes. These potential changes include modifications to method signatures, parameters, or namespaces in future updates, aimed at ensuring robust support for upcoming SVE technologies and streaming SVE designs. If you're using these APIs in your project, you'll need to suppress the `SYSLIB5003` diagnostic. + +To suppress the warnings in a project file: + +```xml + + + $(NoWarn);SYSLIB5003 + + +## See also + +- [Experimental features](experimental-overview.md) +- [Future work](https://devblogs.microsoft.com/dotnet/engineering-sve-in-dotnet/#8.-future) diff --git a/docs/navigate/tools-diagnostics/toc.yml b/docs/navigate/tools-diagnostics/toc.yml index b499f28ee9f60..0e91f070f6a65 100644 --- a/docs/navigate/tools-diagnostics/toc.yml +++ b/docs/navigate/tools-diagnostics/toc.yml @@ -1809,6 +1809,9 @@ items: - name: Overview displayName: syslib, experimental href: ../../fundamentals/syslib-diagnostics/experimental-overview.md + - name: SYSLIB5003 + href: ../../fundamentals/syslib-diagnostics/syslib5003.md + displayProperty: syslib5003 - name: Source-generated code items: - name: Overview