Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

filipw
Copy link
Member

@filipw filipw commented Oct 24, 2022

SyntaxTrivia and SyntaxToken are non nullable

/Users/filipw/dev/dotnet-script/src/Dotnet.Script.Core/Internal/PreprocessorLineRewriter.cs(28,17): warning CS8073: The result of the expression is always 'true' since a value of type 'SyntaxTrivia' is never equal to 'null' of type 'SyntaxTrivia?' [/Users/filipw/dev/dotnet-script/src/Dotnet.Script.Core/Dotnet.Script.Core.csproj::TargetFramework=net6.0]
/Users/filipw/dev/dotnet-script/src/Dotnet.Script.Core/Internal/PreprocessorLineRewriter.cs(31,21): warning CS8073: The result of the expression is always 'true' since a value of type 'SyntaxToken' is never equal to 'null' of type 'SyntaxToken?' [/Users/filipw/dev/dotnet-script/src/Dotnet.Script.Core/Dotnet.Script.Core.csproj::TargetFramework=net6.0]

@filipw filipw requested a review from seesharper October 24, 2022 09:42
Copy link
Collaborator

@seesharper seesharper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👍😃

@seesharper seesharper merged commit 124737c into master Oct 24, 2022
@filipw filipw deleted the bugfix/CS8073 branch October 28, 2023 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants