15 overrides of Name
Microsoft.Build (1)
BackEnd\Components\SdkResolution\DefaultSdkResolver.cs (1)
27public override string Name => "DefaultSdkResolver";
Microsoft.Build.Engine.UnitTests (14)
BackEnd\SdkResolverLoader_Tests.cs (3)
408public override string Name => nameof(MockSdkResolverThatDoesNotLoad); 424public override string Name => nameof(MockSdkResolverNoPublicConstructor); 443public override string Name => nameof(MockSdkResolverWithAssemblyPath);
BackEnd\SdkResolverService_Tests.cs (8)
840public override string Name => nameof(MockResolverReturnsNull); 849public override string Name => nameof(MockSdkResolver1); 868public override string Name => nameof(MockSdkResolver2); 887public override string Name => nameof(MockSdkResolverWithResolvableSdkPattern1); 906public override string Name => nameof(MockSdkResolverWithResolvableSdkPattern2); 927public override string Name => nameof(MockSdkResolverWithState); 950public override string Name => nameof(MockSdkResolverThrows); 963public override string Name => nameof(MockSdkResolverDefault);
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
796public override string Name => ResolverName;
InternalEngineHelpers.cs (2)
61public override string Name => nameof(ConfigurableMockSdkResolver); 139public override string Name => "FileBasedMockSdkResolver";
11 references to Name
Microsoft.Build (6)
BackEnd\Components\SdkResolution\SdkResolverService.cs (6)
329loggingContext.LogComment(MessageImportance.Low, "SDKResolverNullMessage", sdkResolver.Name, sdk.ToString()); 344throw new SdkResolverException("SDKResolverFailed", sdkResolver, sdk, e, sdkResolver.Name, sdk.ToString(), e.ToString()); 348MSBuildEventSource.Log.SdkResolverResolveSdkStop(sdkResolver.Name, sdk.Name, solutionPath ?? string.Empty, projectPath ?? string.Empty, result?.Path ?? string.Empty, result?.Success ?? false); 353result ??= (SdkResult)resultFactory.IndicateFailure([ResourceUtilities.FormatResourceStringStripCodeAndKeyword("SDKResolverReturnedNull", sdkResolver.Name)], []); 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);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\SdkResolverService_Tests.cs (5)
116e.Resolver.Name.ShouldBe("MockSdkResolverThrows"); 796SdkResolverManifest sdkResolverManifest = new SdkResolverManifest(resolver.Name, null, null); 802pair.Resolver.Name, 817if (resolver.Name == manifest.DisplayName) 824if (pair.Resolver.Name == manifest.DisplayName)