This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Commit 6dd451f
Scale back [Serializable] CoreFX types (#19742)
* Remove SerializableAttribute from many CoreFX types that will not be serializable.
* Removes serialization tests for types that are no longer serializable and fixes serializing a couple of types. Includes marking some internal serializable types as public so that they'll be reflectible with .NET Native.
* Remove unneeded pragmas
* Update based on review comments1 parent b0900bb commit 6dd451f
File tree
460 files changed
+42
-858
lines changed- src
- Common
- src/System
- CodeDom
- Collections
- Data/Common
- Net/NetworkInformation
- Text
- tests/System/Collections
- Microsoft.CSharp
- src/Microsoft/CSharp/RuntimeBinder
- tests
- Microsoft.Win32.Primitives
- src/System/ComponentModel
- tests
- System.CodeDom
- src/System/CodeDom
- Compiler
- tests
- System.Collections.Concurrent
- src/System/Collections/Concurrent
- tests/ConcurrentDictionary
- System.Collections.NonGeneric
- src/System/Collections
- tests
- ArrayList
- Hashtable
- System.Collections.Specialized/src/System/Collections/Specialized
- System.Collections
- src/System/Collections
- Generic
- tests/Generic
- SortedDictionary
- SortedList
- System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations
- System.ComponentModel.TypeConverter/src/System/ComponentModel
- Design
- System.Configuration.ConfigurationManager/src/System/Configuration
- Provider
- System.Console/src/System
- IO
- System.Data.Common/src/System/Data
- Common
- Filter
- SQLTypes
- System.Data.Odbc/src
- Common/System/Data
- Common
- ProviderBase
- System/Data/Odbc
- System.Data.SqlClient/src/System/Data
- ProviderBase
- SqlClient
- System.Diagnostics.Debug/src/System/Diagnostics
- System.Diagnostics.DiagnosticSource/src/System/Diagnostics
- System.Diagnostics.Process/src/System/Collections/Specialized
- System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement
- System.DirectoryServices.Protocols/src/System/DirectoryServices/Protocols
- common
- ldap
- System.DirectoryServices/src/System/DirectoryServices
- ActiveDirectory
- System.Drawing.Primitives/ref
- System.Globalization.Extensions/src/System/Globalization
- System.IO.Compression/src/System/IO/Compression
- System.IO.FileSystem.DriveInfo/src/System/IO
- System.IO.FileSystem.Watcher
- ref
- src/System/IO
- tests
- System.IO.FileSystem
- src/System/IO
- tests
- DirectoryInfo
- FileInfo
- System.IO.IsolatedStorage/src/System/IO/IsolatedStorage
- System.Linq.Expressions/src/System
- Dynamic
- Runtime/CompilerServices
- System.Net.HttpListener/src/System/Net
- System.Net.Http/src/System/Net/Http
- System.Net.Mail/src/System/Net/Mail
- System.Net.Ping/src/System/Net/NetworkInformation
- System.Net.Primitives
- src/System/Net
- tests/FunctionalTests
- System.Net.Requests
- src/System/Net
- tests
- System.Net.Security/src/System/Security/Authentication
- ExtendedProtection
- System.Net.Sockets/src/System/Net/Sockets
- System.Net.WebHeaderCollection
- src/System/Net
- tests
- System.Net.WebProxy/src/System/Net
- System.Net.WebSockets/src/System/Net/WebSockets
- System.ObjectModel
- src/System/Collections/ObjectModel
- tests/ReadOnlyDictionary
- System.Private.Uri/src/System
- System.Private.Xml.Linq/src/System/Xml/Linq
- System.Private.Xml/src/System/Xml
- Schema
- Inference
- XPath
- Xslt
- Xsl
- XPath
- Xslt
- System.Resources.ResourceManager/ref
- System.Runtime.CompilerServices.VisualC/src/System/Runtime/CompilerServices
- System.Runtime.Extensions
- src/System
- Collections
- Globalization
- IO
- Runtime/Versioning
- Security
- Permissions
- tests/System
- System.Runtime.InteropServices/src/System/Runtime/CompilerServices
- System.Runtime.Numerics/src/System/Numerics
- System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization
- Formatters/Binary
- System.Runtime.Serialization.Primitives
- ref
- src/System/Runtime/Serialization
- System.Runtime/src/System
- System.Security.AccessControl/src/System/Security/AccessControl
- System.Security.Claims
- src/System/Security/Claims
- tests
- System.Security.Cryptography.Algorithms/src/System/Security/Cryptography
- System.Security.Cryptography.Cng/src/System/Security/Cryptography
- System.Security.Cryptography.Primitives/src/System/Security/Cryptography
- System.Security.Cryptography.X509Certificates
- src/System/Security/Cryptography/X509Certificates
- tests
- System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml
- System.Security.Permissions/src/System
- Data
- Common
- Odbc
- OleDb
- OracleClient
- SqlClient
- Diagnostics
- Drawing/Printing
- Net
- Mail
- NetworkInformation
- PeerToPeer
- Collaboration
- Security
- Permissions
- Policy
- Transactions
- System.Security.Principal.Windows
- src/System/Security/Principal
- tests
- System.ServiceProcess.ServiceController/src/System/ServiceProcess
- System.Text.Encoding.CodePages
- src/System/Text
- tests
- System.Text.RegularExpressions
- src/System/Text/RegularExpressions
- tests
- System.Threading.Thread
- src/System/Threading
- tests
- System.Threading/src/System/Threading
- System.Transactions.Local/src/System/Transactions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
460 files changed
+42
-858
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
0 commit comments