Skip to content

Commit ef2b138

Browse files
authored
update .net core only exceptions (dotnet#5190)
1 parent 74de965 commit ef2b138

File tree

14 files changed

+32
-32
lines changed

14 files changed

+32
-32
lines changed

xml/System.Data.Common/DbDataReader.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,7 @@ private static void GetCredits(String connectionString)
19311931
<remarks>To be added.</remarks>
19321932
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Data.Common.DbDataReader" /> is closed.</exception>
19331933
<exception cref="T:System.IndexOutOfRangeException">The column index is out of range.</exception>
1934-
<exception cref="T:System.NotSupportedException">.NET Core only: This member is not supported.</exception>
1934+
<exception cref="T:System.NotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
19351935
<related type="Article" href="/dotnet/framework/data/adonet/ado-net-overview">ADO.NET Overview</related>
19361936
</Docs>
19371937
</Member>

xml/System.Diagnostics/Process.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5587,7 +5587,7 @@ The file specified in the <paramref name="fileName" /> could not be found.
55875587
]]></format>
55885588
</remarks>
55895589
<exception cref="T:System.ArgumentNullException">The value that specifies the <see cref="P:System.Diagnostics.Process.StartInfo" /> is <see langword="null" />.</exception>
5590-
<exception cref="T:System.InvalidOperationException">.NET Core only: The <see cref="M:System.Diagnostics.Process.Start" /> method was not used to start the process.</exception>
5590+
<exception cref="T:System.InvalidOperationException">.NET 5+ and .NET Core only: The <see cref="M:System.Diagnostics.Process.Start" /> method was not used to start the process.</exception>
55915591
<altmember cref="M:System.Diagnostics.Process.Start" />
55925592
<altmember cref="P:System.Diagnostics.ProcessStartInfo.FileName" />
55935593
</Docs>

xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ Process C says: True
794794
<paramref name="mapName" /> is an empty string.</exception>
795795
<exception cref="T:System.ArgumentOutOfRangeException">
796796
<paramref name="capacity" /> is less than or equal to zero.</exception>
797-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: Calls to the <c>CreateNew</c> method with a named memory mapped file (that is, a non-null <paramref name="mapName" />) are supported on Windows operating systems only.</exception>
797+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: Calls to the <c>CreateNew</c> method with a named memory mapped file (that is, a non-null <paramref name="mapName" />) are supported on Windows operating systems only.</exception>
798798
<related type="Article" href="/dotnet/standard/io/memory-mapped-files">Memory-Mapped Files</related>
799799
</Docs>
800800
</Member>
@@ -865,7 +865,7 @@ Process C says: True
865865
-or-
866866

867867
<paramref name="access" /> is not a valid <see cref="T:System.IO.MemoryMappedFiles.MemoryMappedFileAccess" /> enumeration value.</exception>
868-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: Calls to the <c>CreateNew</c> method with a named memory mapped file (that is, a non-null <paramref name="mapName" />) are supported on Windows operating systems only.</exception>
868+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: Calls to the <c>CreateNew</c> method with a named memory mapped file (that is, a non-null <paramref name="mapName" />) are supported on Windows operating systems only.</exception>
869869
<related type="Article" href="/dotnet/standard/io/memory-mapped-files">Memory-Mapped Files</related>
870870
</Docs>
871871
</Member>
@@ -931,7 +931,7 @@ Process C says: True
931931
-or-
932932

933933
<paramref name="inheritability" /> is not a valid <see cref="T:System.IO.HandleInheritability" /> value.</exception>
934-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: Calls to the <c>CreateNew</c> method with a named memory mapped file (that is, a non-null <paramref name="mapName" />) are supported on Windows operating systems only.</exception>
934+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: Calls to the <c>CreateNew</c> method with a named memory mapped file (that is, a non-null <paramref name="mapName" />) are supported on Windows operating systems only.</exception>
935935
</Docs>
936936
</Member>
937937
<Member MemberName="CreateNew">

xml/System.IO/FileSystemInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
<exception cref="T:System.IO.FileNotFoundException">The specified file doesn't exist. Only thrown when setting the property value.</exception>
290290
<exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid. For example, it's on an unmapped drive. Only thrown when setting the property value.</exception>
291291
<exception cref="T:System.Security.SecurityException">The caller doesn't have the required permission.</exception>
292-
<exception cref="T:System.UnauthorizedAccessException">.NET Core only: The user attempts to set an attribute value but doesn't have write permission.</exception>
292+
<exception cref="T:System.UnauthorizedAccessException">.NET 5+ and .NET Core only: The user attempts to set an attribute value but doesn't have write permission.</exception>
293293
<exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
294294
<exception cref="T:System.ArgumentException">The caller attempts to set an invalid file attribute.
295295

xml/System.Reflection/Assembly.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5670,7 +5670,7 @@ In .NET 5.0 and later versions, for bundled assemblies, the value returned is an
56705670
Version 2.0 or later of the common language runtime is currently loaded and <paramref name="rawAssembly" /> was compiled with a later version.</exception>
56715671
<exception cref="T:System.IO.FileLoadException">
56725672
<paramref name="rawAssembly" /> cannot be loaded.</exception>
5673-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: This member is not supported.</exception>
5673+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
56745674
</Docs>
56755675
</Member>
56765676
<Member MemberName="ReflectionOnlyLoad">
@@ -5749,7 +5749,7 @@ In .NET 5.0 and later versions, for bundled assemblies, the value returned is an
57495749
-or-
57505750

57515751
Version 2.0 or later of the common language runtime is currently loaded and <paramref name="assemblyString" /> was compiled with a later version.</exception>
5752-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: This member is not supported.</exception>
5752+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
57535753
</Docs>
57545754
</Member>
57555755
<Member MemberName="ReflectionOnlyLoadFrom">
@@ -5829,7 +5829,7 @@ In .NET 5.0 and later versions, for bundled assemblies, the value returned is an
58295829
<exception cref="T:System.IO.PathTooLongException">The assembly name exceeds the system-defined maximum length.</exception>
58305830
<exception cref="T:System.ArgumentException">
58315831
<paramref name="assemblyFile" /> is an empty string ("").</exception>
5832-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: This member is not supported.</exception>
5832+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
58335833
</Docs>
58345834
</Member>
58355835
<Member MemberName="SecurityRuleSet">

xml/System.Security.Cryptography.Pkcs/CmsSigner.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
133133
]]></format>
134134
</remarks>
135-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: This member is not supported.</exception>
135+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
136136
</Docs>
137137
</Member>
138138
<Member MemberName=".ctor">

xml/System.Security.Cryptography.Pkcs/SignedCms.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ The following permissions are required to access the signature key:
745745
</Parameters>
746746
<Docs>
747747
<param name="signer">A <see cref="T:System.Security.Cryptography.Pkcs.CmsSigner" /> object that represents the signer.</param>
748-
<param name="silent">.NET Core only: <see langword="true" /> to request opening keys with PIN prompts disabled, where supported; otherwise, <see langword="false" />. In .NET Framework, this parameter is not used and a PIN prompt is always shown, if required.</param>
748+
<param name="silent">.NET 5+ and .NET Core only: <see langword="true" /> to request opening keys with PIN prompts disabled, where supported; otherwise, <see langword="false" />. In .NET Framework, this parameter is not used and a PIN prompt is always shown, if required.</param>
749749
<summary>Creates a signature using the specified signer and adds the signature to the CMS/PKCS #7 message. </summary>
750750
<remarks>
751751
<format type="text/markdown"><![CDATA[
@@ -771,7 +771,7 @@ The following permissions are required to access the signature key:
771771
<paramref name="signer" /> is <see langword="null" />.</exception>
772772
<exception cref="T:System.Security.Cryptography.CryptographicException">A cryptographic operation could not be completed.</exception>
773773
<exception cref="T:System.InvalidOperationException">.NET Framework only: A signing certificate is not specified.</exception>
774-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: A signing certificate is not specified.</exception>
774+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: A signing certificate is not specified.</exception>
775775
</Docs>
776776
</Member>
777777
<Member MemberName="ContentInfo">

xml/System.Security.Cryptography.X509Certificates/X509Certificate.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2805,7 +2805,7 @@ The output of this method is equivalent to the output of the <xref:System.Securi
28052805
-or-
28062806

28072807
The length of the <paramref name="rawData" /> parameter is 0.</exception>
2808-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
2808+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
28092809
</Docs>
28102810
</Member>
28112811
<Member MemberName="Import">
@@ -2871,7 +2871,7 @@ The output of this method is equivalent to the output of the <xref:System.Securi
28712871
]]></format>
28722872
</remarks>
28732873
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
2874-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
2874+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
28752875
</Docs>
28762876
</Member>
28772877
<Member MemberName="Import">
@@ -2939,7 +2939,7 @@ The output of this method is equivalent to the output of the <xref:System.Securi
29392939
-or-
29402940

29412941
The length of the <paramref name="rawData" /> parameter is 0.</exception>
2942-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
2942+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
29432943
</Docs>
29442944
</Member>
29452945
<Member MemberName="Import">
@@ -3005,7 +3005,7 @@ The output of this method is equivalent to the output of the <xref:System.Securi
30053005
-or-
30063006

30073007
The length of the <paramref name="rawData" /> parameter is 0.</exception>
3008-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
3008+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
30093009
</Docs>
30103010
</Member>
30113011
<Member MemberName="Import">
@@ -3069,7 +3069,7 @@ The output of this method is equivalent to the output of the <xref:System.Securi
30693069
]]></format>
30703070
</remarks>
30713071
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
3072-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
3072+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
30733073
</Docs>
30743074
</Member>
30753075
<Member MemberName="Import">
@@ -3133,7 +3133,7 @@ The output of this method is equivalent to the output of the <xref:System.Securi
31333133
]]></format>
31343134
</remarks>
31353135
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
3136-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
3136+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
31373137
</Docs>
31383138
</Member>
31393139
<Member MemberName="Issuer">
@@ -3315,7 +3315,7 @@ The output of this method is equivalent to the output of the <xref:System.Securi
33153315
<param name="sender">The source of the deserialization event.</param>
33163316
<summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and is called back by the deserialization event when deserialization is complete.</summary>
33173317
<remarks>To be added.</remarks>
3318-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
3318+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
33193319
</Docs>
33203320
</Member>
33213321
<Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData">
@@ -3365,7 +3365,7 @@ The output of this method is equivalent to the output of the <xref:System.Securi
33653365
<param name="context">The destination context of the serialization.</param>
33663366
<summary>Gets serialization information with all the data needed to recreate an instance of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</summary>
33673367
<remarks>To be added.</remarks>
3368-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
3368+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
33693369
</Docs>
33703370
</Member>
33713371
<MemberGroup MemberName="ToString">

xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@
520520
<param name="context">Contextual information about the source of the stream to be deserialized.</param>
521521
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using the specified serialization and stream context information.</summary>
522522
<remarks>To be added.</remarks>
523-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
523+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: In all cases.</exception>
524524
</Docs>
525525
</Member>
526526
<Member MemberName=".ctor">
@@ -2289,7 +2289,7 @@ The certificate uses an unknown public key algorithm.</exception>
22892289
<exception cref="T:System.NotSupportedException">The key algorithm for this private key is not supported.</exception>
22902290
<exception cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException">The X.509 keys do not match.</exception>
22912291
<exception cref="T:System.ArgumentException">The cryptographic service provider key is <see langword="null" />.</exception>
2292-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: An attempt was made to set this property.</exception>
2292+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: An attempt was made to set this property.</exception>
22932293
</Docs>
22942294
</Member>
22952295
<Member MemberName="PublicKey">

xml/System.Security.Cryptography/ProtectedData.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you use these methods during impersonation, you may receive the following err
125125
<exception cref="T:System.Security.Cryptography.CryptographicException">The encryption failed.</exception>
126126
<exception cref="T:System.NotSupportedException">The operating system does not support this method.</exception>
127127
<exception cref="T:System.OutOfMemoryException">The system ran out of memory while encrypting the data.</exception>
128-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: Calls to the <c>Protect</c> method are supported on Windows operating systems only.</exception>
128+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: Calls to the <c>Protect</c> method are supported on Windows operating systems only.</exception>
129129
</Docs>
130130
</Member>
131131
<Member MemberName="Unprotect">
@@ -197,7 +197,7 @@ If you use these methods during impersonation, you may receive the following err
197197
<exception cref="T:System.Security.Cryptography.CryptographicException">The decryption failed.</exception>
198198
<exception cref="T:System.NotSupportedException">The operating system does not support this method.</exception>
199199
<exception cref="T:System.OutOfMemoryException">Out of memory.</exception>
200-
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: Calls to the <c>Unprotect</c> method are supported on Windows operating systems only.</exception>
200+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: Calls to the <c>Unprotect</c> method are supported on Windows operating systems only.</exception>
201201
</Docs>
202202
</Member>
203203
</Members>

0 commit comments

Comments
 (0)