11 references to 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)
34
return ValueTaskFactory.FromResult(LoadedModules.TryGetValue(mvid, out var result) ? result : new
ManagedHotReloadAvailability
(ManagedHotReloadAvailabilityStatus.ModuleNotLoaded));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
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 (3)
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));