Skip to content

Commit 99f9b5d

Browse files
authored
Reconcile library type name lists (#1259)
* Reconcile library type name lists * tweak md
1 parent f4fe0f1 commit 99f9b5d

File tree

1 file changed

+125
-92
lines changed

1 file changed

+125
-92
lines changed

standard/standard-library.md

Lines changed: 125 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,13 @@ namespace System
236236
public static string Format(string format, params object[] args);
237237
}
238238

239+
public class SystemException : Exception
240+
{
241+
public SystemException();
242+
public SystemException(string? message);
243+
public SystemException(string? message, Exception? innerException);
244+
}
245+
239246
public abstract class Type : MemberInfo { }
240247

241248
public sealed class TypeInitializationException : Exception
@@ -490,6 +497,73 @@ namespace System.Collections.Generic
490497
}
491498
}
492499

500+
namespace System.Diagnostics.CodeAnalysis
501+
{
502+
[System.AttributeUsage(System.AttributeTargets.Field |
503+
System.AttributeTargets.Parameter | System.AttributeTargets.Property,
504+
Inherited=false)]
505+
public sealed class AllowNullAttribute : Attribute
506+
{
507+
public AllowNullAttribute() { }
508+
}
509+
510+
[System.AttributeUsage(System.AttributeTargets.Field |
511+
System.AttributeTargets.Parameter | System.AttributeTargets.Property,
512+
Inherited=false)]
513+
public sealed class DisallowNullAttribute : Attribute
514+
{
515+
public DisallowNullAttribute() {}
516+
}
517+
518+
[System.AttributeUsage(System.AttributeTargets.Method, Inherited=false)]
519+
public sealed class DoesNotReturnAttribute : Attribute
520+
{
521+
public DoesNotReturnAttribute() {}
522+
}
523+
524+
[System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false)]
525+
public sealed class DoesNotReturnIfAttribute : Attribute
526+
{
527+
public DoesNotReturnIfAttribute(bool parameterValue) {}
528+
}
529+
530+
[System.AttributeUsage(System.AttributeTargets.Field |
531+
System.AttributeTargets.Parameter | System.AttributeTargets.Property |
532+
System.AttributeTargets.ReturnValue, Inherited=false)]
533+
public sealed class MaybeNullAttribute : Attribute
534+
{
535+
public MaybeNullAttribute() {}
536+
}
537+
538+
[System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false)]
539+
public sealed class MaybeNullWhenAttribute : Attribute
540+
{
541+
public MaybeNullWhenAttribute(bool returnValue) {}
542+
}
543+
544+
[System.AttributeUsage(System.AttributeTargets.Field |
545+
System.AttributeTargets.Parameter | System.AttributeTargets.Property |
546+
System.AttributeTargets.ReturnValue, Inherited=false)]
547+
public sealed class NotNullAttribute : Attribute
548+
{
549+
public NotNullAttribute() {}
550+
}
551+
552+
[System.AttributeUsage(System.AttributeTargets.Parameter |
553+
System.AttributeTargets.Property | System.AttributeTargets.ReturnValue,
554+
AllowMultiple=true, Inherited=false)]
555+
public sealed class NotNullIfNotNullAttribute : Attribute
556+
{
557+
public NotNullIfNotNullAttribute(string parameterName) {}
558+
}
559+
560+
[System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false)]
561+
public sealed class NotNullWhenAttribute : Attribute
562+
{
563+
public NotNullWhenAttribute(bool returnValue) {}
564+
}
565+
}
566+
493567
namespace System.Linq.Expressions
494568
{
495569
public sealed class Expression<TDelegate>
@@ -571,70 +645,6 @@ namespace System.Runtime.CompilerServices
571645
public bool IsCompleted { get; }
572646
public TResult GetResult();
573647
}
574-
575-
[System.AttributeUsage(System.AttributeTargets.Field |
576-
System.AttributeTargets.Parameter | System.AttributeTargets.Property,
577-
Inherited=false)]
578-
public sealed class AllowNullAttribute : Attribute
579-
{
580-
public AllowNullAttribute() { }
581-
}
582-
583-
[System.AttributeUsage(System.AttributeTargets.Field |
584-
System.AttributeTargets.Parameter | System.AttributeTargets.Property,
585-
Inherited=false)]
586-
public sealed class DisallowNullAttribute : Attribute
587-
{
588-
public DisallowNullAttribute() {}
589-
}
590-
591-
[System.AttributeUsage(System.AttributeTargets.Method, Inherited=false)]
592-
public sealed class DoesNotReturnAttribute : Attribute
593-
{
594-
public DoesNotReturnAttribute() {}
595-
}
596-
597-
[System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false)]
598-
public sealed class DoesNotReturnIfAttribute : Attribute
599-
{
600-
public DoesNotReturnIfAttribute(bool parameterValue) {}
601-
}
602-
603-
[System.AttributeUsage(System.AttributeTargets.Field |
604-
System.AttributeTargets.Parameter | System.AttributeTargets.Property |
605-
System.AttributeTargets.ReturnValue, Inherited=false)]
606-
public sealed class MaybeNullAttribute : Attribute
607-
{
608-
public MaybeNullAttribute() {}
609-
}
610-
611-
[System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false)]
612-
public sealed class MaybeNullWhenAttribute : Attribute
613-
{
614-
public MaybeNullWhenAttribute(bool returnValue) {}
615-
}
616-
617-
[System.AttributeUsage(System.AttributeTargets.Field |
618-
System.AttributeTargets.Parameter | System.AttributeTargets.Property |
619-
System.AttributeTargets.ReturnValue, Inherited=false)]
620-
public sealed class NotNullAttribute : Attribute
621-
{
622-
public NotNullAttribute() {}
623-
}
624-
625-
[System.AttributeUsage(System.AttributeTargets.Parameter |
626-
System.AttributeTargets.Property | System.AttributeTargets.ReturnValue,
627-
AllowMultiple=true, Inherited=false)]
628-
public sealed class NotNullIfNotNullAttribute : Attribute
629-
{
630-
public NotNullIfNotNullAttribute(string parameterName) {}
631-
}
632-
633-
[System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false)]
634-
public sealed class NotNullWhenAttribute : Attribute
635-
{
636-
public NotNullWhenAttribute(bool returnValue) {}
637-
}
638648
}
639649

640650
namespace System.Threading.Tasks
@@ -1057,67 +1067,90 @@ The following library types are referenced in this specification. The full names
10571067
- `global::System.Boolean`
10581068
- `global::System.Byte`
10591069
- `global::System.Char`
1060-
- `global::System.Collections.Generic.ICollection<T>`
1061-
- `global::System.Collections.Generic.IEnumerable<T>`
1062-
- `global::System.Collections.Generic.IEnumerator<T>`
1063-
- `global::System.Collections.Generic.IList<T>`
1064-
- `global::System.Collections.Generic.IReadonlyCollection<out T>`
1065-
- `global::System.Collections.Generic.IReadOnlyList<out T>`
1066-
- `global::System.Collections.ICollection`
1067-
- `global::System.Collections.IEnumerable`
1068-
- `global::System.Collections.IList`
1069-
- `global::System.Collections.IEnumerator`
10701070
- `global::System.Decimal`
10711071
- `global::System.Delegate`
1072-
- `global::System.Diagnostics.ConditionalAttribute`
10731072
- `global::System.DivideByZeroException`
10741073
- `global::System.Double`
10751074
- `global::System.Enum`
10761075
- `global::System.Exception`
1076+
- `global::System.FormattableString`
10771077
- `global::System.GC`
1078-
- `global::System.ICollection`
10791078
- `global::System.IDisposable`
1080-
- `global::System.IEnumerable`
1081-
- `global::System.IEnumerable<out T>`
1082-
- `global::System.IList`
1079+
- `global::System.IFormattable`
10831080
- `global::System.IndexOutOfRangeException`
10841081
- `global::System.Int16`
10851082
- `global::System.Int32`
10861083
- `global::System.Int64`
10871084
- `global::System.IntPtr`
10881085
- `global::System.InvalidCastException`
10891086
- `global::System.InvalidOperationException`
1090-
- `global::System.Linq.Expressions.Expression<TDelegate>`
1091-
- `global::System.MemberInfo`
10921087
- `global::System.NotSupportedException`
10931088
- `global::System.Nullable<T>`
10941089
- `global::System.NullReferenceException`
10951090
- `global::System.Object`
10961091
- `global::System.ObsoleteAttribute`
1092+
- `global::System.OperationCanceledException`
10971093
- `global::System.OutOfMemoryException`
10981094
- `global::System.OverflowException`
1099-
- `global::System.Runtime.CompilerServices.CallerFileAttribute`
1100-
- `global::System.Runtime.CompilerServices.CallerLineNumberAttribute`
1101-
- `global::System.Runtime.CompilerServices.CallerMemberNameAttribute`
1102-
- `global::System.Runtime.CompilerServices.ICriticalNotifyCompletion`
1103-
- `global::System.Runtime.CompilerServices.IndexerNameAttribute`
1104-
- `global::System.Runtime.CompilerServices.INotifyCompletion`
1105-
- `global::System.Runtime.CompilerServices.TaskAwaiter`
1106-
- `global::System.Runtime.CompilerServices.TaskAwaiter<T>`
1095+
- `global::System.ReadOnlySpan`
11071096
- `global::System.SByte`
11081097
- `global::System.Single`
1098+
- `global::System.Span`
11091099
- `global::System.StackOverflowException`
11101100
- `global::System.String`
11111101
- `global::System.SystemException`
1112-
- `global::System.Threading.Monitor`
1113-
- `global::System.Threading.Tasks.Task`
1114-
- `global::System.Threading.Tasks.Task<TResult>`
11151102
- `global::System.Type`
11161103
- `global::System.TypeInitializationException`
11171104
- `global::System.UInt16`
11181105
- `global::System.UInt32`
11191106
- `global::System.UInt64`
11201107
- `global::System.UIntPtr`
1108+
- `global::System.ValueTuple<T1>`
1109+
- `global::System.ValueTuple<T1, T2>`
1110+
- `global::System.ValueTuple<T1, T2, T3>`
1111+
- `global::System.ValueTuple<T1, T2, T3, T4>`
1112+
- `global::System.ValueTuple<T1, T2, T3, T4, T5>`
1113+
- `global::System.ValueTuple<T1, T2, T3, T4, T5, T6>`
1114+
- `global::System.ValueTuple<T1, T2, T3, T4, T5, T6, T7>`
1115+
- `global::System.ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>`
11211116
- `global::System.ValueType`
1117+
- `global::System.Collections.ICollection`
1118+
- `global::System.Collections.IEnumerable`
1119+
- `global::System.Collections.IEnumerator`
1120+
- `global::System.Collections.IList`
1121+
- `global::System.Collections.Generic.ICollection<T>`
1122+
- `global::System.Collections.Generic.IEnumerable<T>`
1123+
- `global::System.Collections.Generic.IEnumerator<T>`
1124+
- `global::System.Collections.Generic.IList<T>`
1125+
- `global::System.Collections.Generic.IReadonlyCollection<out T>`
1126+
- `global::System.Collections.Generic.IReadOnlyList<out T>`
1127+
- `global::System.Diagnostics.ConditionalAttribute`
1128+
- `global::System.Diagnostics.CodeAnalysis.AllowNullAttribute`
1129+
- `global::System.Diagnostics.CodeAnalysis.DisallowNullAttribute`
1130+
- `global::System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute`
1131+
- `global::System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute`
1132+
- `global::System.Diagnostics.CodeAnalysis.MaybeNullAttribute`
1133+
- `global::System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute`
1134+
- `global::System.Diagnostics.CodeAnalysis.NotNullAttribute`
1135+
- `global::System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute`
1136+
- `global::System.Diagnostics.CodeAnalysis.NotNullWhenAttribute`
1137+
- `global::System.Linq.Expressions.Expression<TDelegate>`
1138+
- `global::System.Reflection.MemberInfo`
1139+
- `global::System.Runtime.CompilerServices.AsyncMethodBuilderAttribute`
1140+
- `global::System.Runtime.CompilerServices.CallerFileAttribute`
1141+
- `global::System.Runtime.CompilerServices.CallerLineNumberAttribute`
1142+
- `global::System.Runtime.CompilerServices.CallerMemberNameAttribute`
1143+
- `global::System.Runtime.CompilerServices.FormattableStringFactory`
1144+
- `global::System.Runtime.CompilerServices.ICriticalNotifyCompletion`
1145+
- `global::System.Runtime.CompilerServices.IndexerNameAttribute`
1146+
- `global::System.Runtime.CompilerServices.INotifyCompletion`
1147+
- `global::System.Runtime.CompilerServices.TaskAwaiter`
1148+
- `global::System.Runtime.CompilerServices.TaskAwaiter<T>`
1149+
- `global::System.Runtime.CompilerServices.ValueTaskAwaiter`
1150+
- `global::System.Runtime.CompilerServices.ValueTaskAwaiter<TResult>`
1151+
- `global::System.Runtime.CompilerServices.Unsafe`
1152+
- `global::System.Threading.Monitor`
1153+
- `global::System.Threading.Tasks.Task`
1154+
- `global::System.Threading.Tasks.Task<TResult>`
11221155

11231156
**End of informative text.**

0 commit comments

Comments
 (0)