5 references to IsComment
Aspire.Hosting.CodeGeneration.Go.Tests (5)
GoDocCommentTests.cs (5)
163if (!IsComment(line)) 165if (GetDeclaredName(line) is { } name && i > 0 && IsComment(lines[i - 1])) 168while (first > 0 && IsComment(lines[first - 1])) 190if (line.TrimStart().StartsWith("// Deprecated:", StringComparison.Ordinal) && i > 0 && IsComment(lines[i - 1]) && lines[i - 1].Trim() != "//") 209var commentedConstants = lines.Where((line, i) => i > 0 && IsComment(lines[i - 1]) && Regex.IsMatch(line, "^\t\\w+ \\w+ = \"[^\"]*\"$")).Count();