1 write to GuaranteedUnmarshal
Microsoft.Interop.SourceGeneration (1)
GeneratedStatements.cs (1)
41
GuaranteedUnmarshal
= GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.GuaranteedUnmarshal }),
17 references to GuaranteedUnmarshal
Microsoft.Interop.ComInterfaceGenerator (2)
UnmanagedToManagedStubGenerator.cs (2)
59
!statements.
GuaranteedUnmarshal
.IsEmpty
73
.. statements.
GuaranteedUnmarshal
,
Microsoft.Interop.JavaScript.JSImportGenerator (10)
JSExportCodeGenerator.cs (5)
71
bool shouldInitializeVariables = !statements.
GuaranteedUnmarshal
.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty;
77
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
91
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
116
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
118
finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.
GuaranteedUnmarshal
.Concat(statements.CleanupCalleeAllocated))));
JSImportCodeGenerator.cs (5)
78
bool shouldInitializeVariables = !statements.
GuaranteedUnmarshal
.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty;
85
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
99
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
111
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
113
finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.
GuaranteedUnmarshal
.Concat(statements.CleanupCalleeAllocated))));
Microsoft.Interop.SourceGeneration (5)
ManagedToNativeStubGenerator.cs (5)
112
bool shouldInitializeVariables = !statements.
GuaranteedUnmarshal
.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty;
126
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
155
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
166
if (!(statements.
GuaranteedUnmarshal
.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty))
168
finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.
GuaranteedUnmarshal
.Concat(statements.CleanupCalleeAllocated))));