perf: remove ToFullString call in Compare
#158
ValidatePullRequest.yml
on: pull_request
Run Tests
1m 17s
No Warnings
51s
Builds Playground
1m 1s
Check Formatting
17s
Check TODOs
10s
Matrix: Test CSharpier.MSBuild
Annotations
18 errors and 28 warnings
|
Check Formatting
Process completed with exit code 1.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
No Warnings:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Run Tests
Process completed with exit code 1.
|
|
UsingDirectives_KeepDefineAtTop:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_cs.cs#L904
Expected normalizedCode to be "// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
#define USE_STRUCT
using System;
using System.Runtime.CompilerServices;
", but "// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
#define USE_STRUCT
using System.Runtime.CompilerServices;
using System;
" differs near ".Ru" (index 172).
|
|
UsingDirectives_KeepUndefAtTop:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_cs.cs#L909
Expected normalizedCode to be "// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
#undef USE_STRUCT
using System;
using System.Runtime.CompilerServices;
", but "// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
#undef USE_STRUCT
using System.Runtime.CompilerServices;
using System;
" differs near ".Ru" (index 171).
|
|
UsingDirectives_FileComments:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_cs.cs#L899
Expected normalizedCode to be "// Licensed to something
using Apple;
using Microsoft;
", but "// Licensed to something
using Microsoft;
using Apple;
" differs near "Mic" (index 32).
|
|
UsingDirectives_EdgeCase9:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_cs.cs#L894
Expected normalizedCode to be "#if XMLCHARTYPE_GEN_RESOURCE
#undef XMLCHARTYPE_USE_RESOURCE
#endif
using System.Diagnostics;
using System.Threading;
", but "#if XMLCHARTYPE_GEN_RESOURCE
#undef XMLCHARTYPE_USE_RESOURCE
#endif
using System.Threading;
using System.Diagnostics;
" differs near "Thr" (index 82).
|
|
UsingDirectives_EdgeCase6:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_cs.cs#L884
Expected normalizedCode to be "#if DEBUG
#define SYMBOL
#endif
using System;
using System.Collections;
", but "#if DEBUG
#define SYMBOL
#endif
using System.Collections;
using System;
" differs near ".Co" (index 45).
|
|
UsingDirectives_Basics:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_cs.cs#L844
Expected normalizedCode to be "global using Global;
using System;
using global::Zebra;
using Custom;
using static Expression;
using Point = (int x, int y);
using Index = Microsoft.Framework.Index;
", but "global using Global;
using System;
using global::Zebra;
using Custom;
using static Expression;
using Index = Microsoft.Framework.Index;
using Point = (int x, int y);
" differs near "Ind" (index 101).
|
|
Run Tests:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Run Tests:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Run Tests:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Run Tests:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Run Tests:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Run Tests:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Run Tests:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Run Tests:
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L212
Dereference of a possibly null reference.
|
|
Test CSharpier.MSBuild (windows-latest):
Src/CSharpier.Core/CSharp/SyntaxPrinter/UsingDirectives.cs#L207
Possible null reference argument for parameter 'value' in 'Doc PrintLeadingTrivia(UsingDirectiveSyntax value)'.
|