Skip to content

Commit

Permalink
Fix nullable warnings in struct constructors (#43472)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkiGibson authored Oct 17, 2020
1 parent e8339af commit c125743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/libraries/Common/src/System/Net/CookieParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ internal CookieTokenizer(string tokenStream) : this()
{
_length = tokenStream.Length;
_tokenStream = tokenStream;
_value = string.Empty;
}

internal bool EndOfCookie
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Internal.Cryptography
internal struct CngAlgorithmCore
{
private readonly string _disposedName;
public CngAlgorithm DefaultKeyType;
public CngAlgorithm? DefaultKeyType;
private CngKey? _lazyKey;
private bool _disposed;

Expand Down

0 comments on commit c125743

Please sign in to comment.