11 implementations of GenerateCleanupCalleeAllocatedResourcesStatements
Microsoft.Interop.SourceGeneration (11)
Marshalling\StatefulMarshallingStrategy.cs (4)
39
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context)
193
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context)
339
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context)
491
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context)
Marshalling\StatelessMarshallingStrategy.cs (5)
29
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context) => Array.Empty<StatementSyntax>();
153
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context) => innerMarshaller.GenerateCleanupCalleeAllocatedResourcesStatements(context);
276
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context)
335
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context)
616
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context)
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
28
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context) => innerMarshaller.GenerateCleanupCalleeAllocatedResourcesStatements(context);
105
public IEnumerable<StatementSyntax>
GenerateCleanupCalleeAllocatedResourcesStatements
(StubIdentifierContext context)
8 references to GenerateCleanupCalleeAllocatedResourcesStatements
Microsoft.Interop.SourceGeneration (8)
Marshalling\CustomTypeMarshallingGenerator.cs (1)
83
return nativeTypeMarshaller.
GenerateCleanupCalleeAllocatedResourcesStatements
(context);
Marshalling\StatefulMarshallingStrategy.cs (2)
195
return innerMarshaller.
GenerateCleanupCalleeAllocatedResourcesStatements
(context);
493
foreach (var statement in innerMarshaller.
GenerateCleanupCalleeAllocatedResourcesStatements
(context))
Marshalling\StatelessMarshallingStrategy.cs (3)
153
public IEnumerable<StatementSyntax> GenerateCleanupCalleeAllocatedResourcesStatements(StubIdentifierContext context) => innerMarshaller.
GenerateCleanupCalleeAllocatedResourcesStatements
(context);
281
foreach (StatementSyntax statement in innerMarshaller.
GenerateCleanupCalleeAllocatedResourcesStatements
(context))
642
foreach (var statement in spaceMarshallingStrategy.
GenerateCleanupCalleeAllocatedResourcesStatements
(context))
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
28
public IEnumerable<StatementSyntax> GenerateCleanupCalleeAllocatedResourcesStatements(StubIdentifierContext context) => innerMarshaller.
GenerateCleanupCalleeAllocatedResourcesStatements
(context);
115
Block(innerMarshaller.
GenerateCleanupCalleeAllocatedResourcesStatements
(new OwnedValueCodeContext(context))));