6 references to UnmarshalCapture
Microsoft.Interop.JavaScript.JSImportGenerator (3)
Marshaling\FuncJSGenerator.cs (1)
30
if (context.CurrentStage == StubIdentifierContext.Stage.
UnmarshalCapture
&& CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && TypeInfo.IsManagedReturnPosition)
Marshaling\PrimitiveJSGenerator.cs (1)
26
if (context.CurrentStage == StubIdentifierContext.Stage.
UnmarshalCapture
&& marshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.Bidirectional)
Marshaling\TaskJSGenerator.cs (1)
25
if (context.CurrentStage == StubIdentifierContext.Stage.
UnmarshalCapture
&& CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && TypeInfo.IsManagedReturnPosition)
Microsoft.Interop.SourceGeneration (3)
GeneratedStatements.cs (2)
38
Unmarshal = GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.
UnmarshalCapture
})
184
StubIdentifierContext.Stage.
UnmarshalCapture
=> "Capture the native data into marshaller instances in case conversion to managed data throws an exception.",
Marshalling\CustomTypeMarshallingGenerator.cs (1)
60
case StubIdentifierContext.Stage.
UnmarshalCapture
: