Skip to content

Commit

Permalink
Intern some crucial strings
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillOsenkov committed Dec 19, 2023
1 parent 951e5be commit abda033
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/StructuredLogger/Construction/Construction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,32 @@ public Construction()
Intern(Strings.UnusedLocations);
Intern(Strings.Warnings);
Intern(nameof(AddItem));
Intern(nameof(CriticalBuildMessage));
Intern(nameof(CopyTask));
Intern(nameof(RobocopyTask));
Intern(nameof(CscTask));
Intern(nameof(VbcTask));
Intern(nameof(FscTask));
Intern(nameof(MSBuildTask));
Intern(nameof(ResolveAssemblyReferenceTask));
Intern(nameof(EntryTarget));
Intern(nameof(Error));
Intern(nameof(Folder));
Intern(nameof(Import));
Intern(nameof(Item));
Intern(nameof(Message));
Intern(nameof(Metadata));
Intern(nameof(NoImport));
Intern(nameof(Package));
Intern(nameof(Parameter));
Intern(nameof(Project));
Intern(nameof(ProjectEvaluation));
Intern(nameof(Property));
Intern(nameof(RemoveItem));
Intern(nameof(Target));
Intern(nameof(Task));
Intern(nameof(TimedNode));
Intern(nameof(Warning));
}

public void Shutdown()
Expand Down

0 comments on commit abda033

Please sign in to comment.