2 types derived from SdkResolverService
Microsoft.Build (1)
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
17internal sealed class CachingSdkResolverService : SdkResolverService
Microsoft.Build.Engine.UnitTests (1)
BackEnd\SdkResolverService_Tests.cs (1)
701internal sealed class SdkResolverServiceTextExtension : SdkResolverService
17 instantiations of SdkResolverService
Microsoft.Build (1)
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
31private static readonly Lazy<SdkResolverService> InstanceLazy = new Lazy<SdkResolverService>(() => new SdkResolverService(), isThreadSafe: true);
Microsoft.Build.Engine.UnitTests (16)
BackEnd\SdkResolverService_Tests.cs (16)
50var service = new SdkResolverService(); 85var service = new SdkResolverService(); 109var service = new SdkResolverService(); 125var service = new SdkResolverService(); 189var service = new SdkResolverService(); 206var service = new SdkResolverService(); 221var service = new SdkResolverService(); 238var service = new SdkResolverService(); 252var service = new SdkResolverService(); 277var service = new SdkResolverService(); 294var service = new SdkResolverService(); 312var service = new SdkResolverService(); 446var service = new SdkResolverService(); 483var service = new SdkResolverService(); 530var service = new SdkResolverService(); 576var service = new SdkResolverService();
35 references to SdkResolverService
Microsoft.Build (11)
BackEnd\Components\SdkResolution\CachingSdkResolverLoader.cs (1)
48/// <see cref="SdkResolverService" /> instance.
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (2)
75!SdkResolverService.IsReferenceSameVersion(sdk, result.SdkReference.Version) && 76!SdkResolverService.IsReferenceSameVersion(sdk, result.Version))
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (2)
20/// and can be overridden for different contexts. This service calls the <see cref="SdkResolverService"/> to do any actual SDK resolution 21/// because the <see cref="SdkResolverService"/> is used for stand-alone evaluations where there is no build context available so caching
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
85if (sdkResult.Version != null && !SdkResolverService.IsReferenceSameVersion(sdk, sdkResult.Version))
BackEnd\Components\SdkResolution\SdkResolverService.cs (4)
31private static readonly Lazy<SdkResolverService> InstanceLazy = new Lazy<SdkResolverService>(() => new SdkResolverService(), isThreadSafe: true); 74/// Gets the current instance of <see cref="SdkResolverService"/> for this process. 76public static SdkResolverService Instance => InstanceLazy.Value;
Construction\Solution\SolutionProjectGenerator.cs (1)
186_sdkResolverService = sdkResolverService ?? SdkResolverService.Instance;
Microsoft.Build.Engine.UnitTests (24)
BackEnd\SdkResolverService_Tests.cs (18)
50var service = new SdkResolverService(); 85var service = new SdkResolverService(); 109var service = new SdkResolverService(); 125var service = new SdkResolverService(); 139internal string TryResolveSdk(SdkResolverService service) 189var service = new SdkResolverService(); 206var service = new SdkResolverService(); 221var service = new SdkResolverService(); 238var service = new SdkResolverService(); 252var service = new SdkResolverService(); 277var service = new SdkResolverService(); 294var service = new SdkResolverService(); 312var service = new SdkResolverService(); 344SdkResolverService.IsReferenceSameVersion(sdk, version2).ShouldBe(expected); 446var service = new SdkResolverService(); 483var service = new SdkResolverService(); 530var service = new SdkResolverService(); 576var service = new SdkResolverService();
BackEnd\SdkResultOutOfProc_Tests.cs (2)
268var sdkService = (SdkResolverService)context.SdkResolverService;
Definition\ProjectEvaluationContext_Tests.cs (2)
52var sdkService = (SdkResolverService)context.SdkResolverService;
InternalEngineHelpers.cs (2)
30var sdkService = (SdkResolverService)context.SdkResolverService;