Skip to content

Commit c8aad4e

Browse files
committed
Add any atributes to displayName
Some attributes weren't in the `displayName` element for the TOC. Review all of them and add them again.
1 parent 99415d9 commit c8aad4e

File tree

1 file changed

+19
-7
lines changed
  • docs/csharp/language-reference

1 file changed

+19
-7
lines changed

docs/csharp/language-reference/toc.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -380,22 +380,34 @@ items:
380380
- name: Attributes read by the compiler
381381
items:
382382
- name: Global attributes
383-
displayName: AssemblyName, AssemblyVersion, AssemblyCulture, AssemblyFlags, AssemblyProduct, AssemblyTrademark, AssemblyInformationalVersion, AssemblyCompany, AssemblyCopyright, AssemblyFileVersion, CLSCompliant, AssemblyTitle, AssemblyDescription, AssemblyConfiguration, AssemblyDefaultAlias
383+
displayName: >
384+
AssemblyName, AssemblyVersion, AssemblyCulture, AssemblyFlags, AssemblyProduct, AssemblyTrademark, AssemblyInformationalVersion,
385+
AssemblyCompany, AssemblyCopyright, AssemblyFileVersion, CLSCompliant, AssemblyTitle, AssemblyDescription, AssemblyConfiguration,
386+
AssemblyDefaultAlias
384387
href: ./attributes/global.md
385388
- name: Caller information
386-
displayName: CallerFilePath, CallerLineNumber, CallerMemberName
389+
displayName: CallerFilePath, CallerLineNumber, CallerMemberName, CallerArgumentExpressionAttribute
387390
href: ./attributes/caller-information.md
388391
- name: Nullable static analysis
389-
displayName: AllowNull, DisallowNull, MaybeNull, NotNull, MaybeNullWhen, NotNullWhen, NotNullIfNotNull, DoesNotReturn, DoesNotReturnIf
392+
displayName: >
393+
AllowNull, DisallowNull, MaybeNull, NotNull, MaybeNullWhen, NotNullWhen, NotNullIfNotNull, MemberNotNull, MemberNotNullIf,
394+
DoesNotReturn, DoesNotReturnIf
390395
href: ./attributes/nullable-analysis.md
391396
- name: Miscellaneous
392-
displayName: Conditional, Obsolete, Experimental, SetsRequiredMembers, AttributeUsage, ModuleInitializer, SkipLocalsInit, module initializer
397+
displayName: >
398+
Conditional, Obsolete, Deprecated, Experimental, SetsRequiredMembers, AttributeUsage, AsyncMethodBuilder, InterpolatedStringHandler,
399+
ModuleInitializer, SkipLocalsInit, UnscopedRef, OverloadResolutionPriority. EnumeratorCancellation, CollectionBuilder,
400+
IUnknownConstant, IDispatchConstant, module initializer
393401
href: ./attributes/general.md
394402
- name: Pseudo-attributes
395403
displayName: >
396-
ComImportAttribute, DefaultParameterValueAttribute, DllImportAttribute, FieldOffsetAttribute, InAttribute,
397-
MarshalAsAttribute, MethodImplAttribute, NonSerializedAttribute, OptionalAttribute, OutAttribute, PreserveSigAttribute,
398-
SerializableAttribute, SkipLocalsInitAttribute, SpecialNameAttribute, StructLayoutAttribute, IndexerNameAttribute
404+
ComImportAttribute, DllImportAttribute, FieldOffsetAttribute, MarshalAsAttribute, MethodImplAttribute, NonSerializedAttribute,
405+
OptionalAttribute, OutAttribute, PreserveSigAttribute, SerializableAttribute, StructLayoutAttribute, IndexerNameAttribute,
406+
DefaultParameterValueAttribute, InAttribute, SpecialNameAttribute, UnmanagedCallersOnlyAttribute, CompilerFeatureRequiredAttribute,
407+
DecimalConstantAttribute, DefaultMemberAttribute, DynamicAttribute, ExtensionAttribute, FixedBufferAttribute, IsByRefLikeAttribute,
408+
IsReadOnlyAttribute, RequiresLocationAttribute, IsUnmanagedAttribute, NullableAttribute, NullableContextAttribute,
409+
NullablePublicOnlyAttribute, ParamArrayAttribute, ParamCollectionAttribute, RefSafetyRulesAttribute, RequiredMemberAttribute,
410+
TupleElementNamesAttribute
399411
href: ./attributes/pseudo-attributes.md
400412
- name: Unsafe code and pointers
401413
displayName: unsafe code, pointers, fixed size buffer, function pointer

0 commit comments

Comments
 (0)