Base:
12 references to ToString
Microsoft.Build (7)
BackEnd\Components\SdkResolution\SdkResolverService.cs (4)
328loggingContext.LogComment(MessageImportance.Low, "SDKResolverNullMessage", sdkResolver.Name, sdk.ToString()); 343throw new SdkResolverException("SDKResolverFailed", sdkResolver, sdk, e, sdkResolver.Name, sdk.ToString(), e.ToString()); 356loggingContext.LogComment(MessageImportance.Low, "SucceededToResolveSDK", sdk.ToString(), sdkResolver.Name, result.Path ?? "null", result.Version ?? "null"); 377loggingContext.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)
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));
Microsoft.Build.Framework.UnitTests (3)
SdkReference_Tests.cs (3)
37sdk.ToString().ShouldBe(sdkString); 51sdk.ToString().ShouldBe(sdkString); 65sdk.ToString().ShouldBe("Name/min=Version");