Skip to content

Commit 59bcacc

Browse files
Clean-up comment formatting
1 parent a879457 commit 59bcacc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

common/CommunityToolkit.Labs.Core.SourceGenerators.Tests/CommunityToolkit.Labs.Core.SourceGenerators.Tests/ToolkitSampleMetadataTests.Documentation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace CommunityToolkit.Labs.Core.SourceGenerators.Tests
1212
{
1313
public partial class ToolkitSampleMetadataTests
1414
{
15-
//// We currently need at least one sample to test the document registry, so we'll have this for the base cases to share.
15+
// We currently need at least one sample to test the document registry, so we'll have this for the base cases to share.
1616
private static readonly string SimpleSource = $@"
1717
using System.ComponentModel;
1818
using CommunityToolkit.Labs.Core.SourceGenerators;

common/CommunityToolkit.Labs.Core.SourceGenerators.Tests/CommunityToolkit.Labs.Core.SourceGenerators.Tests/ToolkitSampleMetadataTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ from assembly in AppDomain.CurrentDomain.GetAssemblies()
395395
GC.KeepAlive(sampleAttributeType);
396396
}
397397

398-
//// From: https://github.com/dotnet/roslyn/blob/main/src/Compilers/Test/Core/SourceGeneration/TestGenerators.cs
398+
// From: https://github.com/dotnet/roslyn/blob/main/src/Compilers/Test/Core/SourceGeneration/TestGenerators.cs
399399
internal class InMemoryAdditionalText : AdditionalText
400400
{
401401
private readonly SourceText _content;

common/CommunityToolkit.Labs.Core.SourceGenerators/ToolkitSampleMetadataGenerator.Documentation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
namespace CommunityToolkit.Labs.Core.SourceGenerators;
1717

18-
//// This part of the partial class deals with finding Markdown files
19-
//// and creating ToolkitFrontMatter metadata from it.
18+
// This part of the partial class deals with finding Markdown files
19+
// and creating ToolkitFrontMatter metadata from it.
2020
public partial class ToolkitSampleMetadataGenerator
2121
{
2222
private const string FrontMatterRegexTitleExpression = @"^title:\s*(?<title>.*)$";

common/CommunityToolkit.Labs.Core.SourceGenerators/ToolkitSampleMetadataGenerator.Sample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void Execute(IncrementalValuesProvider<ISymbol> types)
104104
)
105105
);
106106

107-
//// TODO: NOTE: BUGBUG: This is currently guarding us generating duplicate document registeries based on how the SG are setup to run twice to gather samples depending on how they're loaded.
107+
//// TODO: NOTE: BUGBUG: This is currently guarding us generating duplicate document registeries based on how the SG are setup to run this Execute method twice to gather samples depending on how they're loaded.
108108
//// However, that also means that if a sample only contains documentation without samples we won't load it. That shouldn't be the case currently, though makes testing more difficult.
109109
if (!sampleMetadata.Any())
110110
return;

0 commit comments

Comments
 (0)