14 references to FormatResourceStringStripCodeAndKeyword
Microsoft.Build (8)
BackEnd\Components\Scheduler\Scheduler.cs (1)
1775
ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(
ErrorUtilities.cs (2)
251
throw new InvalidOperationException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(resourceName, args));
356
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(resourceName, args), innerException);
Logging\BaseConsoleLogger.cs (1)
162
string formattedString = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(resourceString, args);
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
249
ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Binlog_ReaderMismatchedRead",
Logging\ParallelLogger\ParallelConsoleLogger.cs (3)
1477
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedFileProjectDepends", targetName, targetStartedEvent.TargetFile, currentProjectFile, targetStartedEvent.ParentTarget), true);
1552
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStartedWithDefaultTargetsMultiProc", previous, parentStartedEvent.FullProjectKey, current, projectStartedEvent.FullProjectKey, currentProjectNodeId), true);
1556
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStartedWithTargetsMultiProc", previous, parentStartedEvent.FullProjectKey, current, projectStartedEvent.FullProjectKey, currentProjectNodeId, targetNames), true);
Microsoft.Build.Engine.UnitTests (6)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1548
message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedFileProjectDepends", targetName, projectFileOfTarget, projectFile, parentTargetName);
BackEnd\SdkResolverService_Tests.cs (2)
178
_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("SDKResolverAttempt", nameof(MockResolverReturnsNull), sdk.ToString(), "null",
181
_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("SucceededToResolveSDK", sdk.ToString(), nameof(MockSdkResolver1), result.Path, result.Version));
ConsoleLogger_Tests.cs (3)
2126
string prjPerfString = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectPerformanceSummary", null);
2128
string targetPerfString = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetPerformanceSummary", null);
2130
string taskPerfString = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TaskPerformanceSummary", null);