14 references to SdkResolverService
Microsoft.Build (9)
BackEnd\BuildManager\BuildManager.cs (1)
367private ISdkResolverService SdkResolverService => ((this as IBuildComponentHost).GetComponent(BuildComponentType.SdkResolverService) as ISdkResolverService)!;
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
87_componentEntriesByType[BuildComponentType.SdkResolverService] = new BuildComponentEntry(BuildComponentType.SdkResolverService, MainNodeSdkResolverService.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (2)
25/// must have access to an <see cref="IBuildComponentHost"/> and call <see cref="IBuildComponentHost.GetComponent"/> and pass <see cref="BuildComponentType.SdkResolverService"/>. 36ErrorUtilities.VerifyThrowArgumentOutOfRange(type == BuildComponentType.SdkResolverService, nameof(type));
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
25/// must have access to an <see cref="IBuildComponentHost"/> and call <see cref="IBuildComponentHost.GetComponent"/> and pass <see cref="BuildComponentType.SdkResolverService"/>.
BackEnd\Node\OutOfProcNode.cs (2)
157((IBuildComponentHost)this).RegisterFactory(BuildComponentType.SdkResolverService, sdkResolverServiceFactory.CreateInstance); 158_sdkResolverService = (this as IBuildComponentHost).GetComponent(BuildComponentType.SdkResolverService) as ISdkResolverService;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
464ISdkResolverService sdkResolverService = componentHost.GetComponent(BuildComponentType.SdkResolverService) as ISdkResolverService;
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockHost.cs (1)
202BuildComponentType.SdkResolverService => (IBuildComponent)_sdkResolverService,
BackEnd\SdkResultOutOfProc_Tests.cs (1)
273((IBuildComponentHost)_buildManager).RegisterFactory(BuildComponentType.SdkResolverService, type =>
BackEnd\TargetBuilder_Tests.cs (1)
1855BuildComponentType.SdkResolverService => (IBuildComponent)_sdkResolverService,
BackEnd\TargetEntry_Tests.cs (1)
1325BuildComponentType.SdkResolverService => (IBuildComponent)_sdkResolverService,
BackEnd\TaskBuilder_Tests.cs (1)
1382BuildComponentType.SdkResolverService => (IBuildComponent)_sdkResolverService,