File tree Expand file tree Collapse file tree 2 files changed +183
-170
lines changed
src/BuiltInTools/HotReloadAgent
test/Microsoft.Extensions.DotNetDeltaApplier.Tests Expand file tree Collapse file tree 2 files changed +183
-170
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,13 @@ private void GetUpdaterMethodsAndCapabilities(out ApplyUpdateDelegate? applyUpda
9595 {
9696 Reporter . Report ( $ "Error retrieving capabilities: { e . Message } ", AgentMessageSeverity . Error ) ;
9797 }
98+
99+ // .NET Framework runtime does not support adding MethodImpl entries, therefore the capability is not in the baseline capability set.
100+ // All other runtimes (.NET and Mono) support it and rather than servicing all of them we include the capability here.
101+ if ( ! string . IsNullOrEmpty ( capabilities ) )
102+ {
103+ capabilities += " AddExplicitInterfaceImplementation" ;
104+ }
98105 }
99106
100107 public string Capabilities => _capabilities ?? string . Empty ;
You can’t perform that action at this time.
0 commit comments