11 instantiations of ManagedHotReloadAvailability
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
26=> new((Contracts.ManagedHotReloadAvailabilityStatus)value.Status, value.LocalizedMessage);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditAndContinue\MockManagedEditAndContinueDebuggerService.cs (1)
34return ValueTaskFactory.FromResult(LoadedModules.TryGetValue(mvid, out var result) ? result : new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.ModuleNotLoaded));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (4)
1185LoadLibraryToDebuggee(moduleId, new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.NotAllowedForRuntime, "*message*")); 1232LoadLibraryToDebuggee(moduleId, new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.NotAllowedForRuntime, "*message*")); 1282LoadLibraryToDebuggee(moduleId, new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.NotAllowedForRuntime, "*message*")); 2592_debuggerService.IsEditAndContinueAvailable = _ => new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.Attach, localizedMessage: "*attached*");
EditAndContinue\RemoteEditAndContinueServiceTests.cs (2)
163IsEditAndContinueAvailable = _ => new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.NotAllowedForModule, "can't do enc"), 194Assert.Equal(new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.NotAllowedForModule, "can't do enc"), availability);
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\Remote\RemoteEditAndContinueServiceProxy.cs (1)
99return new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.InternalError, e.Message);
ExternalAccess\UnitTesting\API\UnitTestingHotReloadService.cs (1)
32=> ValueTaskFactory.FromResult(new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.Available));
ExternalAccess\Watch\Api\WatchHotReloadService.cs (1)
30=> ValueTaskFactory.FromResult(new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.Available));
17 references to ManagedHotReloadAvailability
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\Contracts\ContractWrappers.cs (1)
25public static Contracts.ManagedHotReloadAvailability ToContract(this ManagedHotReloadAvailability value)
EditAndContinue\Contracts\ManagedHotReloadServiceImpl.cs (1)
23public async ValueTask<Contracts.ManagedHotReloadAvailability> GetAvailabilityAsync(Guid module, CancellationToken cancellation)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
EditAndContinue\MockManagedEditAndContinueDebuggerService.cs (4)
17public Func<Guid, ManagedHotReloadAvailability>? IsEditAndContinueAvailable; 18public Dictionary<Guid, ManagedHotReloadAvailability>? LoadedModules; 25public ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(Guid mvid, CancellationToken cancellationToken) 34return ValueTaskFactory.FromResult(LoadedModules.TryGetValue(mvid, out var result) ? result : new ManagedHotReloadAvailability(ManagedHotReloadAvailabilityStatus.ModuleNotLoaded));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (2)
71LoadedModules = new Dictionary<Guid, ManagedHotReloadAvailability>() 279private void LoadLibraryToDebuggee(Guid moduleId, ManagedHotReloadAvailability availability = default)
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
193var availability = await remoteDebuggeeModuleMetadataProvider!.GetAvailabilityAsync(moduleId1, CancellationToken.None);
Microsoft.CodeAnalysis.Features (7)
EditAndContinue\Contracts\HotReload\IManagedHotReloadService.cs (1)
42ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(Guid module, CancellationToken cancellation);
EditAndContinue\EditSession.cs (1)
161var availability = await DebuggingSession.DebuggerService.GetAvailabilityAsync(mvid, cancellationToken).ConfigureAwait(false);
EditAndContinue\Remote\IRemoteEditAndContinueService.cs (1)
21ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(RemoteServiceCallbackId callbackId, Guid mvid, CancellationToken cancellationToken);
EditAndContinue\Remote\RemoteEditAndContinueServiceProxy.cs (2)
46public ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(RemoteServiceCallbackId callbackId, Guid mvid, CancellationToken cancellationToken) 91public async ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(Guid mvid, CancellationToken cancellationToken)
ExternalAccess\UnitTesting\API\UnitTestingHotReloadService.cs (1)
31public ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(Guid module, CancellationToken cancellationToken)
ExternalAccess\Watch\Api\WatchHotReloadService.cs (1)
29public ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(Guid module, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\EditAndContinue\RemoteEditAndContinueService.cs (1)
43ValueTask<ManagedHotReloadAvailability> IManagedHotReloadService.GetAvailabilityAsync(Guid moduleVersionId, CancellationToken cancellationToken)