Skip to content

Commit 38729b0

Browse files
authored
Fix feature switch example (#11376)
1 parent 4a4fd51 commit 38729b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xml/System.Diagnostics.CodeAnalysis/FeatureSwitchDefinitionAttribute.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ When the app is trimmed with the following feature settings in the project file,
6161
6262
```xml
6363
<ItemGroup>
64-
<RuntimeHostConfigurationOption Include="Feature.IsSupported" Value="false" />
64+
<RuntimeHostConfigurationOption Include="Feature.IsSupported" Value="false" Trim="true" />
6565
</ItemGroup>
6666
```
67-
6867
]]></format>
6968
</example>
7069
</Docs>

0 commit comments

Comments
 (0)