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)
42
writer.WriteLine($"{CollectionSource.
GetManagedValuesDestination
(context)}.Clear();");
90
writer.WriteLine($"{numElementsIdentifier} = {source.
GetManagedValuesDestination
(context)}.Length;");
106
writer.WriteLine($"{CollectionSource.
GetManagedValuesDestination
(context)}.CopyTo({destination});");
126
writer.WriteLine($"{source}.CopyTo({CollectionSource.
GetManagedValuesDestination
(context)});");
181
writer.WriteLine($"{TypeNames.System_Span}<{elementMarshaller.TypeInfo.ManagedType.FullTypeName}> {managedSpanIdentifier} = {CollectionSource.
GetManagedValuesDestination
(context)};");
255
writer.WriteLine($"{TypeNames.System_Span}<{elementMarshaller.TypeInfo.ManagedType.FullTypeName}> {managedSpanIdentifier} = {CollectionSource.
GetManagedValuesDestination
(context)};");