File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
xml/System.Diagnostics.CodeAnalysis Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 30
30
<Docs >
31
31
<summary >
32
32
<para >
33
- Indicates that the specified public static boolean get -only property
33
+ Indicates that the specified public static Boolean read -only property
34
34
guards access to the specified feature.</para >
35
35
</summary >
36
36
<remarks >
37
37
<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
39
39
annotated as requiring that feature, when the callsite is guarded by a
40
40
call to the property.</para >
41
41
</remarks >
55
55
</code >
56
56
When the app is built with `< PublishAot> true< PublishAot> `, the call to
57
57
`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 >,
59
59
and `Feature.Implementation` code is removed when publishing.
60
60
</example >
61
61
</Docs >
Original file line number Diff line number Diff line change 30
30
<Docs >
31
31
<summary >
32
32
<para >
33
- Indicates that the specified public static boolean get -only property
33
+ Indicates that the specified public static Boolean read -only property
34
34
corresponds to the feature switch specified by name.</para >
35
35
</summary >
36
36
<remarks >
37
37
<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
39
39
of the specified property with the value of the feature switch.</para >
40
40
</remarks >
41
41
<example >
You can’t perform that action at this time.
0 commit comments