2 implementations of GetManagedValuesDestination
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
162
public string
GetManagedValuesDestination
(StubIdentifierContext context)
Marshalling\StatelessMarshallingStrategy.cs (1)
294
public string
GetManagedValuesDestination
(StubIdentifierContext context)
6 references to GetManagedValuesDestination
Microsoft.Interop.SourceGeneration (6)
Marshalling\ElementsMarshalling.cs (6)
41
writer.WriteLine($"{CollectionSource.
GetManagedValuesDestination
(context)}.Clear();");
89
writer.WriteLine($"{numElementsIdentifier} = {source.
GetManagedValuesDestination
(context)}.Length;");
105
writer.WriteLine($"{CollectionSource.
GetManagedValuesDestination
(context)}.CopyTo({destination});");
125
writer.WriteLine($"{source}.CopyTo({CollectionSource.
GetManagedValuesDestination
(context)});");
180
writer.WriteLine($"{TypeNames.System_Span}<{elementMarshaller.TypeInfo.ManagedType.FullTypeName}> {managedSpanIdentifier} = {CollectionSource.
GetManagedValuesDestination
(context)};");
254
writer.WriteLine($"{TypeNames.System_Span}<{elementMarshaller.TypeInfo.ManagedType.FullTypeName}> {managedSpanIdentifier} = {CollectionSource.
GetManagedValuesDestination
(context)};");