1 write to ToUnmanaged
Microsoft.Interop.SourceGeneration (1)
MarshallerShape.cs (1)
489ToUnmanaged = toUnmanaged,
9 references to ToUnmanaged
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (4)
1072if (methods.ToUnmanaged is null) 1202unmanagedType = methods.ToUnmanaged.ReturnType; 1205diagnosticReporter.CreateAndReportDiagnostic(UnmanagedTypeMustBeUnmanagedRule, methods.ToUnmanaged.ToDisplayString()); 1216diagnosticReporter.CreateAndReportDiagnostic(FirstParameterMustMatchReturnTypeRule, fromUnmanagedMethod.ToDisplayString(), methods.ToUnmanaged.ToDisplayString());
Analyzers\CustomMarshallerAttributeFixer.cs (2)
528if (methods.ToUnmanaged is not null) 530unmanagedType = methods.ToUnmanaged.ReturnType;
Microsoft.Interop.SourceGeneration (3)
ManualTypeMarshallingHelper.cs (2)
565if (methods.ToUnmanaged is not null) 567nativeType = methods.ToUnmanaged.ReturnType;
MarshallerShape.cs (1)
434|| SymbolEqualityComparer.Default.Equals(method, ToUnmanaged)