Closed indented-automation closed 7 years ago
The OutputType attribute trusts the name property to hold a .NET type name. This assumption is flawed as the OutputType attribute may use a string.
This problem is exhibits when creating a stub of a module based on a WMI class (cdxml module) such as the Storage module.
OutputType must fill .NET types from the Type property. If Type is empty, use Name as a string.
The OutputType attribute trusts the name property to hold a .NET type name. This assumption is flawed as the OutputType attribute may use a string.
This problem is exhibits when creating a stub of a module based on a WMI class (cdxml module) such as the Storage module.
OutputType must fill .NET types from the Type property. If Type is empty, use Name as a string.