1 write to ManagedValuesDestination
Microsoft.Interop.SourceGeneration (1)
MarshallerShape.cs (1)
523
ManagedValuesDestination
= managedDestination,
9 references to ManagedValuesDestination
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (4)
1163
if (methods.
ManagedValuesDestination
is null)
1233
if (methods.ManagedValuesSource is not null && methods.
ManagedValuesDestination
is not null)
1236
&& TryGetElementTypeFromSpanType(methods.
ManagedValuesDestination
.ReturnType, out ITypeSymbol destinationElementType)
1239
diagnosticReporter.CreateAndReportDiagnostic(ElementTypesOfReturnTypesMustMatchRule, methods.ManagedValuesSource.ToDisplayString(), methods.
ManagedValuesDestination
.ToDisplayString());
Analyzers\CustomMarshallerAttributeFixer.cs (2)
558
if (methods.
ManagedValuesDestination
is not null)
560
return ((INamedTypeSymbol)methods.
ManagedValuesDestination
.ReturnType).TypeArguments[0];
Microsoft.Interop.SourceGeneration (3)
ManualTypeMarshallingHelper.cs (2)
588
if (isLinearCollectionMarshaller && collectionElementType is null && methods.
ManagedValuesDestination
is not null)
591
collectionElementType = ((INamedTypeSymbol)methods.
ManagedValuesDestination
.ReturnType).TypeArguments[0];
MarshallerShape.cs (1)
441
|| SymbolEqualityComparer.Default.Equals(method,
ManagedValuesDestination
)