22 references to ManagedHotReloadAvailabilityStatus
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 (7)
EditAndContinue\EditAndContinueDiagnosticDescriptorsTests.cs (1)
42d = EditAndContinueDiagnosticDescriptors.GetModuleDiagnosticDescriptor(ManagedHotReloadAvailabilityStatus.Optimized);
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 (13)
EditAndContinue\Contracts\HotReload\IManagedHotReloadService.cs (3)
38/// Returns first status that's not <see cref="ManagedHotReloadAvailabilityStatus.Available"/>, if any. 39/// Otherwise, if there is at least one instance of the module loaded in a debugging session or there are active hot reload agents, returns <see cref="ManagedHotReloadAvailabilityStatus.Available"/>. 40/// Otherwise, returns <see cref="ManagedHotReloadAvailabilityStatus.ModuleNotLoaded"/>.
EditAndContinue\Contracts\HotReload\ManagedHotReloadAvailability.cs (2)
16ManagedHotReloadAvailabilityStatus status, 27public ManagedHotReloadAvailabilityStatus Status { get; }
EditAndContinue\EditAndContinueDiagnosticDescriptors.cs (3)
27private static Dictionary<ManagedHotReloadAvailabilityStatus, DiagnosticDescriptor> s_lazyModuleDiagnosticDescriptors; 191internal static DiagnosticDescriptor GetModuleDiagnosticDescriptor(ManagedHotReloadAvailabilityStatus status) 195s_lazyModuleDiagnosticDescriptors ??= new Dictionary<ManagedHotReloadAvailabilityStatus, DiagnosticDescriptor>();
EditAndContinue\EditSession.cs (2)
162if (availability.Status == ManagedHotReloadAvailabilityStatus.ModuleNotLoaded) 167if (availability.Status == ManagedHotReloadAvailabilityStatus.Available)
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));