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