When there are no more uses of MCG generated source on CoreCLR, the following code paths should be removed. - [x] `NativeCallableInternalAttribute` - Legacy implementation for `NativeCallableAttribute`. See https://github.com/dotnet/runtime/pull/37621. Note that CrossGen2 doesn't have support for MCG generated assemblies. - [x] `ICastable` - Most uses are under `FEATURE_ICASTABLE`.
When there are no more uses of MCG generated source on CoreCLR, the following code paths should be removed.
NativeCallableInternalAttribute- Legacy implementation forNativeCallableAttribute. See Accept NativeCallableInternalAttribute to support legacy scenario #37621. Note that CrossGen2 doesn't have support for MCG generated assemblies.ICastable- Most uses are underFEATURE_ICASTABLE.