Added the informal address to the BeyondFacts Lab (#1176)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-08 21:10:51 +01:00
1 parent b6c3fbb5db
commit e77645f44c
48 files changed
+1254 -160

No files matched your search

@@ -28,6 +28,8 @@ public sealed class ThisUsageAnalyzerTests
[TestCase("CITY", TestName = "A static field")]
[TestCase("ROOM", TestName = "A constant")]
[TestCase("Shorten(this.location)", TestName = "A static method")]
[TestCase("""T("Kickoff")""", TestName = "A text of T")]
[TestCase("""TA("Your meeting")""", TestName = "A text of TA")]
public async Task AMemberWhichNeedsNoThisIsLeftAlone(string expression)
{
var reported = await AnalyzeClassAsync(expression);
@@ -160,6 +162,10 @@ public sealed class ThisUsageAnalyzerTests
private string Describe() => this.Name;
private static string Shorten(string text) => text[..1];
private string T(string fallbackEN) => fallbackEN;
private string TA(string fallbackEN) => fallbackEN;
}
""";