2017-04-18 07:52:04 +08:00
## Reflection objects can no longer be passed from managed code to out-of-process DCOM clients
2017-04-06 04:52:19 +08:00
### Scope
Minor
### Version Introduced
4.6
### Source Analyzer Status
Available
### Change Description
2017-04-21 02:19:05 +08:00
Reflection objects can no longer be passed from managed code to out-of-process
DCOM clients. The following types are affected:
- < xref:System.Reflection.Assembly ? displayProperty = name >
- < xref:System.Reflection.MemberInfo ? displayProperty = name > (and its derived types, including < xref:System.Reflection.FieldInfo ? displayProperty = name > , < xref:System.Reflection.MethodInfo ? displayProperty = name > , < xref:System.Type ? displayProperty = name > , and < xref:System.Reflection.TypeInfo ? displayProperty = name > )
- < xref:System.Reflection.MethodBody ? displayProperty = name >
- < xref:System.Reflection.Module ? displayProperty = name >
- < xref:System.Reflection.ParameterInfo ? displayProperty = name > .
2017-04-06 04:52:19 +08:00
Calls to `IMarshal` for the object return `E_NOINTERFACE` .
- [ ] Quirked
- [ ] Build-time break
### Recommended Action
Update marshaling code to work with non-reflection objects
### Affected APIs
* Investigate applicable APIs
### Category
Core
2017-04-18 07:52:04 +08:00
<!-- breaking change id: 77 -->