Base:
12 references to ToString
Microsoft.Build (7)
BackEnd\Components\SdkResolution\SdkResolverService.cs (4)
329loggingContext.LogComment(MessageImportance.Low, "SDKResolverNullMessage", sdkResolver.Name, sdk.ToString()); 344throw new SdkResolverException("SDKResolverFailed", sdkResolver, sdk, e, sdkResolver.Name, sdk.ToString(), e.ToString()); 357loggingContext.LogComment(MessageImportance.Low, "SucceededToResolveSDK", sdk.ToString(), sdkResolver.Name, result.Path ?? "null", result.Version ?? "null"); 378loggingContext.LogComment(MessageImportance.Low, "SDKResolverAttempt", sdkResolver.Name, sdk.ToString(), resultWarnings, resultErrors);
Construction\ProjectImportElement.cs (1)
165Sdk = sdkReference.ToString(),
Evaluation\Evaluator.cs (2)
1809sdkReference.ToString()) 1823ProjectErrorUtilities.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)
37sdk.ToString().ShouldBe(sdkString); 51sdk.ToString().ShouldBe(sdkString); 65sdk.ToString().ShouldBe("Name/min=Version");