Skip to content

Commit 6313c61

Browse files
Update docs/fundamentals/syslib-diagnostics/syslib5003.md
Co-authored-by: Jeff Handley <[email protected]>
1 parent c6ed8fb commit 6313c61

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/fundamentals/syslib-diagnostics/syslib5003.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ f1_keywords:
1010

1111
In .NET 9, the first set of non-streaming SVE APIs were introduced and annotated with the <xref:System.Diagnostics.CodeAnalysis.ExperimentalAttribute>. This indicates that both the internal implementation and the generated code for SVE may undergo changes. This includes potential 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 are using these APIs in your project, the `SYSLIB5003` diagnostic will need to be suppressed.
1212

13-
```csharp
14-
<PropertyGroup>
15-
<EnablePreviewFeatures>True</EnablePreviewFeatures>
16-
</PropertyGroup>
17-
```
13+
To suppress the warnings in a project file:
1814

19-
[!INCLUDE [suppress-syslib-warning](includes/suppress-source-generator-diagnostics.md)]
15+
```xml
16+
<PropertyGroup>
17+
<!-- SYSLIB50003: System.Runtime.Intrinsics.Arm.Sve is experimental -->
18+
<NoWarn>$(NoWarn);SYSLIB5003</NoWarn>
19+
</PropertyGroup>
2020

2121
## See also
2222

0 commit comments

Comments
 (0)