Commit 3ae8739
authored
Initial roll out of !! (#64720)
* Bump version of C# compiler
This should be reverted when arcade brings in a new enough compiler.
* Fix a few new warnings from updating compiler
* Enable IDE0190 to employ parameter null checking
* Initial roll out of !!
* Fix more compiler warnings from upgrade, plus some test fixes / reverts
* Fix a few more tests
* Disable profiling test1 parent 97fc0a4 commit 3ae8739
File tree
1,232 files changed
+4540
-21372
lines changed- eng
- src
- coreclr/System.Private.CoreLib/src
- Microsoft/Win32
- System
- Collections
- Reflection
- Emit
- Metadata
- Runtime
- CompilerServices
- InteropServices
- CustomMarshalers
- Loader
- Threading
- libraries
- Common/src
- Extensions/NonCapturingTimer
- Internal/Cryptography
- Interop
- FreeBSD
- Linux/procfs
- OSX
- SunOS/procfs
- Unix/libc
- Windows/SspiCli
- Microsoft/Win32/SafeHandles
- System
- CodeDom
- Composition/Diagnostics
- IO
- Net
- WebSockets
- Resources
- Security/Cryptography
- Asn1
- Text
- Microsoft.Bcl.AsyncInterfaces/src/System/Threading/Tasks/Sources
- Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop
- Microsoft.Extensions.Caching.Abstractions/src
- Microsoft.Extensions.Caching.Memory/src
- Microsoft.Extensions.Configuration.Abstractions/src
- Microsoft.Extensions.Configuration.Binder/src
- Microsoft.Extensions.Configuration.CommandLine/src
- Microsoft.Extensions.Configuration.FileExtensions/src
- Microsoft.Extensions.Configuration.Ini/src
- Microsoft.Extensions.Configuration.Json/src
- Microsoft.Extensions.Configuration.UserSecrets/src
- Microsoft.Extensions.Configuration.Xml/src
- Microsoft.Extensions.Configuration/src
- Microsoft.Extensions.DependencyInjection.Abstractions/src
- Extensions
- Microsoft.Extensions.DependencyInjection/src
- ServiceLookup
- Microsoft.Extensions.DependencyModel/src
- Resolution
- Microsoft.Extensions.FileProviders.Composite/src
- Microsoft.Extensions.FileProviders.Physical/src
- Internal
- Microsoft.Extensions.FileSystemGlobbing/src
- Abstractions
- Internal
- PathSegments
- PatternContexts
- Patterns
- Microsoft.Extensions.Hosting.Abstractions/src
- Microsoft.Extensions.Hosting.Systemd/src
- Microsoft.Extensions.Hosting/src
- Internal
- Microsoft.Extensions.Http/src
- DependencyInjection
- Logging
- Microsoft.Extensions.Logging.Abstractions/src
- Microsoft.Extensions.Logging.Console/src
- Microsoft.Extensions.Logging.EventLog/src
- Microsoft.Extensions.Logging.EventSource/src
- Microsoft.Extensions.Logging.TraceSource/src
- Microsoft.Extensions.Logging/src
- Microsoft.Extensions.Options.ConfigurationExtensions/src
- Microsoft.Extensions.Options/src
- Microsoft.Extensions.Primitives/src
- Microsoft.Win32.Registry.AccessControl/src/Microsoft/Win32
- Microsoft.Win32.Registry/src/Microsoft/Win32
- Microsoft.XmlSerializer.Generator/src
- System.CodeDom/src
- Microsoft
- CSharp
- VisualBasic
- System/CodeDom
- Compiler
- System.Collections.Concurrent/src
- Resources
- System/Collections/Concurrent
- System.Collections.NonGeneric/src
- Resources
- System/Collections
- System.Collections.Specialized
- src/System/Collections/Specialized
- tests/OrderedDictionary
- System.Collections/src/System/Collections
- Generic
- System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations
- System.ComponentModel.Composition.Registration/src/System/ComponentModel/Composition/Registration
- System.ComponentModel.Composition
- src
- Microsoft/Internal
- Collections
- System
- ComponentModel/Composition
- AttributedModel
- Hosting
- ReflectionModel
- Composition/Diagnostics
- tests/System/ComponentModel/Composition
- System.ComponentModel.EventBasedAsync/src
- Resources
- System/ComponentModel
- System.ComponentModel.Primitives/src/System/ComponentModel
- Design/Serialization
- System.ComponentModel.TypeConverter/src
- MS/Internal/Xml/Linq/ComponentModel
- System
- ComponentModel
- Design
- Serialization
- Drawing
- System.Composition.AttributedModel/src/System/Composition
- System.Composition.Convention/src/System/Composition/Convention
- System.Composition.Hosting/src/System/Composition/Hosting
- Core
- Util
- System.Composition.Runtime/src/System/Composition
- Hosting/Core
- Runtime/Util
- System.Composition.TypedParts/src/System/Composition
- Hosting
- TypedParts
- ActivationFeatures
- Util
- System.Configuration.ConfigurationManager/src/System/Configuration
- System.Console/src
- Resources
- System
- IO
- System.Data.Common/src/System/Data
- Common
- System.Data.OleDb/src
- System.Diagnostics.DiagnosticSource/src/System/Diagnostics
- Metrics
- System.Diagnostics.EventLog/src/System/Diagnostics
- Reader
- System.Diagnostics.PerformanceCounter/src/System/Diagnostics
- PerformanceData
- System.Diagnostics.Process/src/System/Diagnostics
- System.Diagnostics.TextWriterTraceListener/src/System/Diagnostics
- System.Diagnostics.TraceSource/src/System/Diagnostics
- System.DirectoryServices.Protocols/src/System/DirectoryServices/Protocols/common
- System.DirectoryServices/src
- Interop
- System/DirectoryServices/ActiveDirectory
- System.Drawing.Common/src/System/Drawing
- Drawing2D
- Imaging
- Internal
- Printing
- System.Formats.Asn1/src/System/Formats/Asn1
- System.Formats.Cbor/src/System/Formats/Cbor/Writer
- System.Globalization/tests/CultureInfo
- System.IO.Compression.Brotli/src/System/IO/Compression
- System.IO.Compression.ZipFile/src/System/IO/Compression
- System.IO.Compression/src/System/IO/Compression
- DeflateManaged
- DeflateZLib
- System.IO.FileSystem.AccessControl/src/System
- IO
- Security/AccessControl
- System.IO.FileSystem.DriveInfo/src/System/IO
- System.IO.FileSystem.Watcher/src/System/IO
- System.IO.Hashing/src/System/IO/Hashing
- System.IO.IsolatedStorage/src/System/IO/IsolatedStorage
- System.IO.MemoryMappedFiles/src
- Resources
- System/IO/MemoryMappedFiles
- System.IO.Packaging/src/System/IO/Packaging
- System.IO.Pipelines/src/System/IO/Pipelines
- System.IO.Pipes/src
- Resources
- System/IO/Pipes
- System.IO.Ports/src/System/IO/Ports
- System.Linq.Expressions/src/System/Runtime/CompilerServices
- System.Linq.Parallel/src/System/Linq
- System.Memory.Data/src/System
- System.Memory/src/System/Text
- System.Net.Http.Json/src/System/Net/Http/Json
- System.Net.Http.WinHttpHandler/src/System/Net/Http
- System.Net.HttpListener/src/System/Net
- Managed
- Windows
- WebSockets
- System.Net.Http/src/System/Net/Http
- BrowserHttpHandler
- Headers
- SocketsHttpHandler
- System.Net.Mail/src/System/Net
- Mail
- Mime
- System.Net.NameResolution/src/System/Net
- System.Net.Ping/src/System/Net/NetworkInformation
- System.Net.Primitives/src/System/Net
- System.Net.Quic/src/System/Net/Quic/Implementations
- Mock
- MsQuic
- System.Net.Requests/src/System/Net
- System.Net.Security/src/System
- Net
- Security
- Security/Authentication/ExtendedProtection
- System.Net.ServicePoint/src/System/Net
- System.Net.Sockets/src/System/Net/Sockets
- System.Net.WebClient/src/System/Net
- System.Net.WebProxy/src/System/Net
- System.Net.WebSockets.Client/src/System/Net/WebSockets
- System.Net.WebSockets/src/System/Net/WebSockets
- System.Numerics.Tensors/src/System/Numerics/Tensors
- System.ObjectModel/src/System
- Collections
- Generic
- ObjectModel
- Specialized
- ComponentModel
- System.Private.CoreLib/src
- Internal
- Runtime/InteropServices
- Win32
- Resources
- System
- Buffers
- CodeDom/Compiler
- Collections
- Concurrent
- Generic
- ObjectModel
- Diagnostics
- Contracts
- Tracing
- TraceLogging
- Globalization
- IO
- Enumeration
- Net
- Reflection
- Resources
- Runtime
- CompilerServices
- ExceptionServices
- InteropServices
- Loader
- Serialization
- Versioning
- Security
- Text
- Threading
- Tasks
- Sources
- System.Private.DataContractSerialization/src/System
- Runtime/Serialization/Json
- Text
- Xml
- System.Private.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript
- System.Private.Uri/src/System
- System.Private.Xml.Linq/src/System/Xml
- Linq
- Schema
- XPath
- System.Private.Xml/src/System/Xml
- Cache
- Core
- Dom
- Resolvers
- Schema
- Inference
- Serialization
- XPath
- Internal
- Xslt
- Xsl
- XsltOld
- Xslt
- System.Reflection.Context/src/System/Reflection/Context
- Virtual
- System.Reflection.Extensions/tests
- System.Reflection.MetadataLoadContext/src/System/Reflection
- TypeLoading
- Assemblies
- Ecma
- Methods
- Types
- System.Reflection.Metadata/src/System/Reflection
- Metadata
- Ecma335
- PortableExecutable
- System.Reflection.TypeExtensions/src/System/Reflection
- System.Reflection/tests
- System.Resources.Extensions/src/System/Resources/Extensions
- System.Resources.Writer/src/System/Resources
- System.Runtime.Caching/src/System/Runtime/Caching
- System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/Marshal
- System.Runtime.Numerics/src/System/Numerics
- System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization
- Formatters/Binary
- System.Security.AccessControl/src/System/Security/AccessControl
- System.Security.Claims/src/System/Security/Claims
- System.Security.Cryptography.Pkcs/src/System/Security/Cryptography
- Pkcs
- System.Security.Cryptography.ProtectedData/src/System/Security/Cryptography
- System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml
- System.Security.Cryptography/src
- Microsoft/Win32/SafeHandles
- System/Security/Cryptography
- X509Certificates
- System.Security.Permissions/src/System/Security/Permissions
- System.Security.Principal.Windows/src/System/Security/Principal
- System.ServiceModel.Syndication/src/System/ServiceModel/Syndication
- System.ServiceProcess.ServiceController/src/System/ServiceProcess
- System.Speech/src
- Internal/ObjectToken
- Recognition/SrgsGrammar
- Result
- System.Text.Encoding.CodePages/src/System/Text
- System.Text.Encodings.Web/src/System/Text/Encodings/Web
- System.Text.Json
- src/System/Text/Json
- Document
- Nodes
- Serialization
- Converters
- Metadata
- Writer
- tests/Common/ConstructorTests
- System.Threading.AccessControl/src/System/Threading
- System.Threading.Channels/src/System/Threading/Channels
- System.Threading.RateLimiting/src/System/Threading/RateLimiting
- System.Threading.Tasks.Dataflow/src
- Base
- Blocks
- Internal
- System.Threading.Tasks.Parallel/src/System/Threading/Tasks
- System.Transactions.Local/src/System/Transactions
- System.Web.HttpUtility/src/System/Web
- Util
- System.Windows.Extensions/src/System/Security/Cryptography/X509Certificates
- tests
- Common/Coreclr.TestWrapper
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,232 files changed
+4540
-21372
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1539 | 1539 | | |
1540 | 1540 | | |
1541 | 1541 | | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
1542 | 1545 | | |
1543 | 1546 | | |
1544 | 1547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1536 | 1536 | | |
1537 | 1537 | | |
1538 | 1538 | | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
1539 | 1542 | | |
1540 | 1543 | | |
1541 | 1544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| |||
Lines changed: 12 additions & 69 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
454 | 454 | | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | 455 | | |
462 | 456 | | |
463 | 457 | | |
| |||
474 | 468 | | |
475 | 469 | | |
476 | 470 | | |
477 | | - | |
| 471 | + | |
478 | 472 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | 473 | | |
483 | 474 | | |
484 | 475 | | |
| |||
492 | 483 | | |
493 | 484 | | |
494 | 485 | | |
495 | | - | |
| 486 | + | |
496 | 487 | | |
497 | 488 | | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | 489 | | |
505 | 490 | | |
506 | 491 | | |
| |||
543 | 528 | | |
544 | 529 | | |
545 | 530 | | |
546 | | - | |
| 531 | + | |
547 | 532 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | 533 | | |
555 | 534 | | |
556 | 535 | | |
| |||
565 | 544 | | |
566 | 545 | | |
567 | 546 | | |
568 | | - | |
| 547 | + | |
569 | 548 | | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | 549 | | |
574 | 550 | | |
575 | 551 | | |
| |||
586 | 562 | | |
587 | 563 | | |
588 | 564 | | |
589 | | - | |
| 565 | + | |
590 | 566 | | |
591 | 567 | | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | 568 | | |
598 | 569 | | |
599 | 570 | | |
| |||
653 | 624 | | |
654 | 625 | | |
655 | 626 | | |
656 | | - | |
| 627 | + | |
657 | 628 | | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | 629 | | |
662 | 630 | | |
663 | 631 | | |
664 | | - | |
| 632 | + | |
665 | 633 | | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | 634 | | |
673 | 635 | | |
674 | 636 | | |
| |||
680 | 642 | | |
681 | 643 | | |
682 | 644 | | |
683 | | - | |
| 645 | + | |
684 | 646 | | |
685 | 647 | | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | 648 | | |
692 | 649 | | |
693 | 650 | | |
| |||
723 | 680 | | |
724 | 681 | | |
725 | 682 | | |
726 | | - | |
| 683 | + | |
727 | 684 | | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | 685 | | |
735 | 686 | | |
736 | 687 | | |
| |||
742 | 693 | | |
743 | 694 | | |
744 | 695 | | |
745 | | - | |
| 696 | + | |
746 | 697 | | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | 698 | | |
751 | 699 | | |
752 | 700 | | |
| |||
755 | 703 | | |
756 | 704 | | |
757 | 705 | | |
758 | | - | |
| 706 | + | |
759 | 707 | | |
760 | 708 | | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | 709 | | |
767 | 710 | | |
768 | 711 | | |
| |||
Lines changed: 3 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
61 | | - | |
| 58 | + | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 62 | | |
70 | 63 | | |
71 | 64 | | |
72 | 65 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 66 | | |
79 | 67 | | |
80 | 68 | | |
| |||
94 | 82 | | |
95 | 83 | | |
96 | 84 | | |
97 | | - | |
| 85 | + | |
98 | 86 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 87 | | |
105 | 88 | | |
106 | 89 | | |
| |||
Lines changed: 6 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 39 | | |
46 | 40 | | |
47 | 41 | | |
| |||
57 | 51 | | |
58 | 52 | | |
59 | 53 | | |
60 | | - | |
| 54 | + | |
61 | 55 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 56 | | |
66 | 57 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 58 | | |
72 | 59 | | |
73 | 60 | | |
| |||
220 | 207 | | |
221 | 208 | | |
222 | 209 | | |
223 | | - | |
| 210 | + | |
224 | 211 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 212 | | |
233 | 213 | | |
234 | 214 | | |
| |||
258 | 238 | | |
259 | 239 | | |
260 | 240 | | |
261 | | - | |
| 241 | + | |
262 | 242 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | 243 | | |
268 | 244 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | 245 | | |
273 | 246 | | |
274 | 247 | | |
| |||
297 | 270 | | |
298 | 271 | | |
299 | 272 | | |
300 | | - | |
| 273 | + | |
301 | 274 | | |
302 | 275 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | 276 | | |
308 | 277 | | |
309 | 278 | | |
| |||
374 | 343 | | |
375 | 344 | | |
376 | 345 | | |
377 | | - | |
| 346 | + | |
378 | 347 | | |
379 | 348 | | |
380 | | - | |
381 | | - | |
382 | 349 | | |
383 | 350 | | |
384 | 351 | | |
| |||
0 commit comments