7 references to CleanupCallerAllocated
Microsoft.Interop.SourceGeneration (7)
GeneratedStatements.cs (2)
42
CleanupCallerAllocated = GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.
CleanupCallerAllocated
}),
186
StubIdentifierContext.Stage.
CleanupCallerAllocated
=> "Perform cleanup of caller allocated resources.",
Marshalling\CustomTypeMarshallingGenerator.cs (1)
80
case StubIdentifierContext.Stage.
CleanupCallerAllocated
:
Marshalling\MarshallerHelpers.cs (3)
359
return StubIdentifierContext.Stage.
CleanupCallerAllocated
;
364
MarshalDirection.ManagedToUnmanaged => StubIdentifierContext.Stage.
CleanupCallerAllocated
,
365
MarshalDirection.Bidirectional => StubIdentifierContext.Stage.
CleanupCallerAllocated
,
Marshalling\StatefulMarshallingStrategy.cs (1)
27
if (MarshallerHelpers.GetCleanupStage(info, stubContext) is not StubIdentifierContext.Stage.
CleanupCallerAllocated
)