You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SYSLIB1051: Runtime Marshalling must be disabled only shows up in command line builds, not in Visual Studio #84739
When using the ComInterfaceGenerator, SysLib1051 should appear when trying to generate interfaces with parameters that require marshalling. It appears during command line builds, but not in Visual Studio.
[GeneratedComInterface][Guid("B029E51B-4C55-4fe2-B993-9F7BC1F10DB4")]internalpartialinterfaceISymNGenWriter2:ISymNGenWriter{...voidQueryPDBNameExW([MarshalUsing(CountElementName=nameof(cchMax))]char[]pdb,// VS should show an error hereIntPtrcchMax);}
SYSLIB1051: Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. The generated source will not handle marshalling of parameter 'pdb'
Activity
Fix StrictlyBlittable check to work for "source Compilation" references.