Skip to content

Commit ce3b258

Browse files
sbomergewarren
andauthored
Apply suggestions from code review
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 7f78236 commit ce3b258

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

xml/System.Diagnostics.CodeAnalysis/FeatureGuardAttribute.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
<Docs>
3131
<summary>
3232
<para>
33-
Indicates that the specified public static boolean get-only property
33+
Indicates that the specified public static Boolean read-only property
3434
guards access to the specified feature.</para>
3535
</summary>
3636
<remarks>
3737
<para>
38-
Analyzers can use this to prevent warnings on calls to code that is
38+
Analyzers can use this attribute to prevent warnings on calls to code that's
3939
annotated as requiring that feature, when the callsite is guarded by a
4040
call to the property.</para>
4141
</remarks>
@@ -55,7 +55,7 @@
5555
</code>
5656
When the app is built with `&lt;PublishAot&gt;true&lt;PublishAot&gt;`, the call to
5757
`Feature.Implementation()` doesn't produce analyzer warning
58-
<see href="https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/warnings/il3050">IL3050</see>,
58+
<see href="/dotnet/core/deploying/native-aot/warnings/il3050">IL3050</see>,
5959
and `Feature.Implementation` code is removed when publishing.
6060
</example>
6161
</Docs>

xml/System.Diagnostics.CodeAnalysis/FeatureSwitchDefinitionAttribute.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
<Docs>
3131
<summary>
3232
<para>
33-
Indicates that the specified public static boolean get-only property
33+
Indicates that the specified public static Boolean read-only property
3434
corresponds to the feature switch specified by name.</para>
3535
</summary>
3636
<remarks>
3737
<para>
38-
IL rewriters and compilers can use this to substitute the return value
38+
IL rewriters and compilers can use this attribute to substitute the return value
3939
of the specified property with the value of the feature switch.</para>
4040
</remarks>
4141
<example>

0 commit comments

Comments
 (0)