2 implementations of GetUnmanagedValuesDestination
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
143
public string
GetUnmanagedValuesDestination
(StubIdentifierContext context)
Marshalling\StatelessMarshallingStrategy.cs (1)
274
public string
GetUnmanagedValuesDestination
(StubIdentifierContext context)
6 references to GetUnmanagedValuesDestination
Microsoft.Interop.SourceGeneration (6)
Marshalling\ElementsMarshalling.cs (6)
36
writer.WriteLine($"{CollectionSource.
GetUnmanagedValuesDestination
(context)}.Clear();");
110
string destination = CastToManagedIfNecessary(CollectionSource.
GetUnmanagedValuesDestination
(context));
116
string source = CastToManagedIfNecessary(CollectionSource.
GetUnmanagedValuesDestination
(context));
160
writer.WriteLine($"{TypeNames.System_Span}<{unmanagedElementType}> {nativeSpanIdentifier} = {CollectionSource.
GetUnmanagedValuesDestination
(context)};");
197
writer.WriteLine($"{TypeNames.System_Span}<{unmanagedElementType}> {nativeSpanIdentifier} = {CollectionSource.
GetUnmanagedValuesDestination
(context)};");
225
? CollectionSource.
GetUnmanagedValuesDestination
(context)