1 write to ManagedValuesDestination
Microsoft.Interop.SourceGeneration (1)
MarshallerShape.cs (1)
164ManagedValuesDestination = managedDestination,
8 references to ManagedValuesDestination
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (4)
844if (methods.ManagedValuesDestination is null) 945if (methods.ManagedValuesSource is not null && methods.ManagedValuesDestination is not null) 948&& TryGetElementTypeFromSpanType(methods.ManagedValuesDestination.ReturnType, out ITypeSymbol destinationElementType) 951diagnosticReporter.CreateAndReportDiagnostic(ElementTypesOfReturnTypesMustMatchRule, methods.ManagedValuesSource.ToDisplayString(), methods.ManagedValuesDestination.ToDisplayString());
Analyzers\CustomMarshallerAttributeFixer.cs (2)
391if (methods.ManagedValuesDestination is not null) 393return ((INamedTypeSymbol)methods.ManagedValuesDestination.ReturnType).TypeArguments[0];
Microsoft.Interop.SourceGeneration (2)
ManualTypeMarshallingHelper.cs (2)
495if (collectionElementType is null && methods.ManagedValuesDestination is not null) 498collectionElementType = ((INamedTypeSymbol)methods.ManagedValuesDestination.ReturnType).TypeArguments[0];