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