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