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