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