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)
41writer.WriteLine($"{CollectionSource.GetManagedValuesDestination(context)}.Clear();"); 89writer.WriteLine($"{numElementsIdentifier} = {source.GetManagedValuesDestination(context)}.Length;"); 105writer.WriteLine($"{CollectionSource.GetManagedValuesDestination(context)}.CopyTo({destination});"); 125writer.WriteLine($"{source}.CopyTo({CollectionSource.GetManagedValuesDestination(context)});"); 180writer.WriteLine($"{TypeNames.System_Span}<{elementMarshaller.TypeInfo.ManagedType.FullTypeName}> {managedSpanIdentifier} = {CollectionSource.GetManagedValuesDestination(context)};"); 254writer.WriteLine($"{TypeNames.System_Span}<{elementMarshaller.TypeInfo.ManagedType.FullTypeName}> {managedSpanIdentifier} = {CollectionSource.GetManagedValuesDestination(context)};");