14 references to SdkResolverService
Microsoft.Build (9)
BackEnd\BuildManager\BuildManager.cs (1)
368
private 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
"/>.
36
ErrorUtilities.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)
464
ISdkResolverService sdkResolverService = componentHost.GetComponent(BuildComponentType.
SdkResolverService
) as ISdkResolverService;
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockHost.cs (1)
202
BuildComponentType.
SdkResolverService
=> (IBuildComponent)_sdkResolverService,
BackEnd\SdkResultOutOfProc_Tests.cs (1)
273
((IBuildComponentHost)_buildManager).RegisterFactory(BuildComponentType.
SdkResolverService
, type =>
BackEnd\TargetBuilder_Tests.cs (1)
1855
BuildComponentType.
SdkResolverService
=> (IBuildComponent)_sdkResolverService,
BackEnd\TargetEntry_Tests.cs (1)
1325
BuildComponentType.
SdkResolverService
=> (IBuildComponent)_sdkResolverService,
BackEnd\TaskBuilder_Tests.cs (1)
1382
BuildComponentType.
SdkResolverService
=> (IBuildComponent)_sdkResolverService,