2 implementations of GetUnmanagedValuesDestination
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
143
public string
GetUnmanagedValuesDestination
(StubIdentifierContext context)
Marshalling\StatelessMarshallingStrategy.cs (1)
274
public string
GetUnmanagedValuesDestination
(StubIdentifierContext context)
6 references to GetUnmanagedValuesDestination
Microsoft.Interop.SourceGeneration (6)
Marshalling\ElementsMarshalling.cs (6)
37
writer.WriteLine($"{CollectionSource.
GetUnmanagedValuesDestination
(context)}.Clear();");
111
string destination = CastToManagedIfNecessary(CollectionSource.
GetUnmanagedValuesDestination
(context));
117
string source = CastToManagedIfNecessary(CollectionSource.
GetUnmanagedValuesDestination
(context));
161
writer.WriteLine($"{TypeNames.System_Span}<{unmanagedElementType}> {nativeSpanIdentifier} = {CollectionSource.
GetUnmanagedValuesDestination
(context)};");
198
writer.WriteLine($"{TypeNames.System_Span}<{unmanagedElementType}> {nativeSpanIdentifier} = {CollectionSource.
GetUnmanagedValuesDestination
(context)};");
226
? CollectionSource.
GetUnmanagedValuesDestination
(context)