-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs for SYSLIB5003 #43288
base: main
Are you sure you want to change the base?
Add docs for SYSLIB5003 #43288
Changes from all commits
0ba5407
0d15604
c6ed8fb
6313c61
9aead2d
fe4d1bc
7f26fea
efadf07
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For cleanliness, I suggest reverting this file (just a final line ending difference remains). |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -312,4 +312,4 @@ | |
[1227]: syslib1220-1229.md | ||
[1228]: syslib1220-1229.md | ||
[1229]: syslib1220-1229.md | ||
[1230]: syslib1230.md | ||
[1230]: syslib1230.md | ||
Check failure on line 315 in docs/fundamentals/syslib-diagnostics/source-generator-overview.md GitHub Actions / lintFiles should end with a single newline character
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <xref:System.Diagnostics.CodeAnalysis.ExperimentalAttribute>. 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 | ||
<PropertyGroup> | ||
<!-- SYSLIB50003: System.Runtime.Intrinsics.Arm.Sve is experimental --> | ||
<NoWarn>$(NoWarn);SYSLIB5003</NoWarn> | ||
</PropertyGroup> | ||
|
||
## See also | ||
|
||
- [Experimental features](experimental-overview.md) | ||
- [Future work](https://devblogs.microsoft.com/dotnet/engineering-sve-in-dotnet/#8.-future) | ||
kunalspathak marked this conversation as resolved.
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gewarren Do we need this? I don't understand the logic for which pages need this and which don't.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is only needed if you renamed or deleted a file after it was published.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks; this file can be reverted then.