17 references to CustomMarshaler
ILAssembler (3)
Actions\GrammarActions.Marshalling.Actions.cs (1)
324BlobBuilder blob = CreateNativeTypeBlob(UnmanagedType.CustomMarshaler);
PseudoCustomAttributes.MarshalAs.cs (2)
333if (arraySubTypeValue == (int)UnmanagedType.CustomMarshaler) 387case (int)UnmanagedType.CustomMarshaler:
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (1)
182|| unmanagedType == UnmanagedType.CustomMarshaler
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
207|| unmanagedType == UnmanagedType.CustomMarshaler
Microsoft.Interop.SourceGeneration (3)
MarshalAsParser.cs (3)
44if (UnmanagedType == UnmanagedType.CustomMarshaler) 88if (ArraySubType == UnmanagedType.CustomMarshaler) 175|| unmanagedType == UnmanagedType.CustomMarshaler
System.Management (3)
System\Management\InteropClasses\WMIInterop.cs (3)
577[PreserveSig] int GetObject_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] int lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(MarshalWbemObject))] out IWbemClassObjectFreeThreaded ppObject, [In] IntPtr ppCallResult); 595[PreserveSig] int ExecMethod_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In][MarshalAs(UnmanagedType.BStr)] string strMethodName, [In] int lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr pInParams, [Out][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(MarshalWbemObject))] out IWbemClassObjectFreeThreaded ppOutParams, [In] IntPtr ppCallResult); 605[PreserveSig] int GetResultObject_([In] int lTimeout, [Out][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(MarshalWbemObject))] out IWbemClassObjectFreeThreaded ppResultObject);
System.Reflection.Emit (3)
System\Reflection\Emit\PseudoCustomAttributesData.cs (3)
158case UnmanagedType.CustomMarshaler: 234_marshalType = UnmanagedType.CustomMarshaler; 309case UnmanagedType.CustomMarshaler:
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
234case UnmanagedType.CustomMarshaler:
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
2082[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ActiveXFontMarshaler))] 2085[param: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ActiveXFontMarshaler))]