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