Base:
12 references to ToString
Microsoft.Build (7)
BackEnd\Components\SdkResolution\SdkResolverService.cs (4)
329
loggingContext.LogComment(MessageImportance.Low, "SDKResolverNullMessage", sdkResolver.Name, sdk.
ToString
());
344
throw new SdkResolverException("SDKResolverFailed", sdkResolver, sdk, e, sdkResolver.Name, sdk.
ToString
(), e.ToString());
357
loggingContext.LogComment(MessageImportance.Low, "SucceededToResolveSDK", sdk.
ToString
(), sdkResolver.Name, result.Path ?? "null", result.Version ?? "null");
378
loggingContext.LogComment(MessageImportance.Low, "SDKResolverAttempt", sdkResolver.Name, sdk.
ToString
(), resultWarnings, resultErrors);
Construction\ProjectImportElement.cs (1)
165
Sdk = sdkReference.
ToString
(),
Evaluation\Evaluator.cs (2)
1809
sdkReference.
ToString
())
1823
ProjectErrorUtilities.ThrowInvalidProject(importElement.SdkLocation, "CouldNotResolveSdk", sdkReference.
ToString
());
Microsoft.Build.Engine.UnitTests (2)
BackEnd\SdkResolverService_Tests.cs (2)
228
_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("SDKResolverAttempt", nameof(MockResolverReturnsNull), sdk.
ToString
(), "null",
231
_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("SucceededToResolveSDK", sdk.
ToString
(), nameof(MockSdkResolver1), result.Path, result.Version));
Microsoft.Build.Framework.UnitTests (3)
SdkReference_Tests.cs (3)
37
sdk.
ToString
().ShouldBe(sdkString);
51
sdk.
ToString
().ShouldBe(sdkString);
65
sdk.
ToString
().ShouldBe("Name/min=Version");