1 write to CleanupCallerAllocated
Microsoft.Interop.SourceGeneration (1)
GeneratedStatements.cs (1)
42CleanupCallerAllocated = GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.CleanupCallerAllocated }),
8 references to CleanupCallerAllocated
Microsoft.Interop.ComInterfaceGenerator (2)
UnmanagedToManagedStubGenerator.cs (2)
60|| !statements.CleanupCallerAllocated.IsEmpty 85ImmutableArray<StatementSyntax> finallyStatements = statements.CleanupCallerAllocated;
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportCodeGenerator.cs (2)
71bool shouldInitializeVariables = !statements.GuaranteedUnmarshal.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty; 121finallyStatements.AddRange(statements.CleanupCallerAllocated);
JSImportCodeGenerator.cs (2)
78bool shouldInitializeVariables = !statements.GuaranteedUnmarshal.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty; 116finallyStatements.AddRange(statements.CleanupCallerAllocated);
Microsoft.Interop.SourceGeneration (2)
ManagedToNativeStubGenerator.cs (2)
112bool shouldInitializeVariables = !statements.GuaranteedUnmarshal.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty; 171finallyStatements.AddRange(statements.CleanupCallerAllocated);