Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Oct 5, 2020

  • Function pointer usage is updated.
  • CS8625: Cannot convert null literal to non-nullable reference type.
  • IDE0062: Local function can be made static.
  • CS8825: Return value must be non-null because parameter 'argument' is non-null.

/cc @ViktorHofer @jkotas @missymessa

@AaronRobinsonMSFT
Copy link
Member Author

Additional observed errors:

D:\runtime\src\libraries\System.Console\src\System\Console.cs(131,51): error CS8625: Cannot convert null literal to non-nullable reference type. [D:\runtime\src\libraries\System.Console\src\System.Console.csproj]
D:\runtime\src\libraries\System.Console\src\System\Console.cs(136,53): error CS8625: Cannot convert null literal to non-nullable reference type. [D:\runtime\src\libraries\System.Console\src\System.Console.csproj]
D:\runtime\src\libraries\System.Formats.Asn1\src\System\Formats\Asn1\AsnDecoder.GeneralizedTime.cs(147,19): error IDE0062: Local function can be made static [D:\runtime\src\libraries\System.Formats.Asn1\src\System.Formats.Asn1.csproj]
D:\runtime\src\libraries\System.Net.Sockets\src\System\Net\Sockets\SocketPal.Windows.cs(923,18): error IDE0062: Local function can be made static [D:\runtime\src\libraries\System.Net.Sockets\src\System.Net.Sockets.csproj]
D:\runtime\src\libraries\System.Net.Sockets\src\System\Net\Sockets\Socket.Tasks.cs(104,29): error IDE0062: Local function can be made static [D:\runtime\src\libraries\System.Net.Sockets\src\System.Net.Sockets.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\XsltOld\XsltCompileContext.cs(668,21): error CS8825: Return value must be non-null because parameter 'argument' is non-null. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\XsltOld\XsltCompileContext.cs(668,21): error CS8825: Return value must be non-null because parameter 'argument' is non-null. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Security.Cryptography.Encoding\src\Internal\Cryptography\OidLookup.cs(139,18): error IDE0062: Local function can be made static [D:\runtime\src\libraries\System.Security.Cryptography.Encoding\src\System.Security.Cryptography.Encoding.csproj]

@jkotas jkotas force-pushed the update_fptr_usage branch 3 times, most recently from 1479b88 to b3949bd Compare October 6, 2020 05:55
@jkotas jkotas force-pushed the update_fptr_usage branch from b3949bd to 0a878c3 Compare October 6, 2020 06:29
@jkotas jkotas merged commit d1c0fa8 into dotnet:master Oct 6, 2020
jkotas added a commit that referenced this pull request Oct 9, 2020
* Update function pointer syntax usage to official.

* Fix warnings with new Roslyn

Co-authored-by: Jan Kotas <[email protected]>
@jkotas jkotas mentioned this pull request Oct 9, 2020
ViktorHofer added a commit that referenced this pull request Oct 10, 2020
* Update dependencies from https://github.com/dotnet/arcade build 20201006.7

Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.ApiCompat
 From Version 5.0.0-beta.20474.4 -> To Version 5.0.0-beta.20506.7

* React to TargetFramework.Sdk change

* Roslyn update response (#43056)

* Update function pointer syntax usage to official.

* Fix warnings with new Roslyn

Co-authored-by: Jan Kotas <[email protected]>

* Adjust for roslyn change on ref parameters and NotNullIfNotNull (#42707)

* Adjust for roslyn change on ref parameters

* Adjust for roslyn change on NotNullIfNotNull

* Fix all configurations build

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <[email protected]>
Co-authored-by: Aaron Robinson <[email protected]>
Co-authored-by: Jan Kotas <[email protected]>
Co-authored-by: Julien Couvreur <[email protected]>
Co-authored-by: Santiago Fernandez Madero <[email protected]>
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the update_fptr_usage branch September 2, 2021 04:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants