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)
34
return ValueTaskFactory.FromResult(LoadedModules.TryGetValue(mvid, out var result) ? result : new ManagedHotReloadAvailability(
ManagedHotReloadAvailabilityStatus
.ModuleNotLoaded));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (7)
EditAndContinue\EditAndContinueDiagnosticDescriptorsTests.cs (1)
42
d = EditAndContinueDiagnosticDescriptors.GetModuleDiagnosticDescriptor(
ManagedHotReloadAvailabilityStatus
.Optimized);
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (4)
1185
LoadLibraryToDebuggee(moduleId, new ManagedHotReloadAvailability(
ManagedHotReloadAvailabilityStatus
.NotAllowedForRuntime, "*message*"));
1232
LoadLibraryToDebuggee(moduleId, new ManagedHotReloadAvailability(
ManagedHotReloadAvailabilityStatus
.NotAllowedForRuntime, "*message*"));
1282
LoadLibraryToDebuggee(moduleId, new ManagedHotReloadAvailability(
ManagedHotReloadAvailabilityStatus
.NotAllowedForRuntime, "*message*"));
2592
_debuggerService.IsEditAndContinueAvailable = _ => new ManagedHotReloadAvailability(
ManagedHotReloadAvailabilityStatus
.Attach, localizedMessage: "*attached*");
EditAndContinue\RemoteEditAndContinueServiceTests.cs (2)
163
IsEditAndContinueAvailable = _ => new ManagedHotReloadAvailability(
ManagedHotReloadAvailabilityStatus
.NotAllowedForModule, "can't do enc"),
194
Assert.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)
16
ManagedHotReloadAvailabilityStatus
status,
27
public
ManagedHotReloadAvailabilityStatus
Status { get; }
EditAndContinue\EditAndContinueDiagnosticDescriptors.cs (3)
27
private static Dictionary<
ManagedHotReloadAvailabilityStatus
, DiagnosticDescriptor> s_lazyModuleDiagnosticDescriptors;
191
internal static DiagnosticDescriptor GetModuleDiagnosticDescriptor(
ManagedHotReloadAvailabilityStatus
status)
195
s_lazyModuleDiagnosticDescriptors ??= new Dictionary<
ManagedHotReloadAvailabilityStatus
, DiagnosticDescriptor>();
EditAndContinue\EditSession.cs (2)
162
if (availability.Status ==
ManagedHotReloadAvailabilityStatus
.ModuleNotLoaded)
167
if (availability.Status ==
ManagedHotReloadAvailabilityStatus
.Available)
EditAndContinue\Remote\RemoteEditAndContinueServiceProxy.cs (1)
99
return 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));