1 write to GuaranteedUnmarshal
Microsoft.Interop.SourceGeneration (1)
GeneratedStatements.cs (1)
46
GuaranteedUnmarshal
= GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.GuaranteedUnmarshal }),
7 references to GuaranteedUnmarshal
Microsoft.Interop.SourceGeneration (7)
ManagedToNativeStubGenerator.cs (5)
130
bool shouldInitializeVariables = !statements.
GuaranteedUnmarshal
.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty;
144
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
194
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
212
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
214
finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.
GuaranteedUnmarshal
.Concat(statements.CleanupCalleeAllocated))));
UnmanagedToManagedStubGenerator.cs (2)
112
!statements.
GuaranteedUnmarshal
.IsEmpty
128
.. statements.
GuaranteedUnmarshal
,