1 write to UnmanagedValuesSource
Microsoft.Interop.SourceGeneration (1)
MarshallerShape.cs (1)
165UnmanagedValuesSource = unmanagedSource
8 references to UnmanagedValuesSource
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (4)
840if (methods.UnmanagedValuesSource is null) 925if (!SymbolEqualityComparer.Default.Equals(methods.UnmanagedValuesSource.Parameters[0].Type, unmanagedType)) 927diagnosticReporter.CreateAndReportDiagnostic(FirstParametersMustMatchRule, methods.UnmanagedValuesSource.ToDisplayString(), toManagedMethod.ToDisplayString()); 957VerifyUnmanagedCollectionElementType(diagnosticReporter, methods.UnmanagedValuesSource, expectedUnmanagedCollectionElementType, _readOnlySpanOfT);
Analyzers\CustomMarshallerAttributeFixer.cs (2)
369else if (methods.UnmanagedValuesSource is not null) 371unmanagedType = methods.UnmanagedValuesSource.Parameters[0].Type;
Microsoft.Interop.SourceGeneration (2)
ManualTypeMarshallingHelper.cs (2)
489if (nativeType is null && methods.UnmanagedValuesSource is not null) 492nativeType = methods.UnmanagedValuesSource.Parameters[0].Type;