10 references to UnmarshalCapture
Microsoft.Interop.JavaScript.JSImportGenerator (3)
Marshaling\FuncJSGenerator.cs (1)
18
&& ((context.CurrentStage == StubIdentifierContext.Stage.
UnmarshalCapture
&& CodeContext.Direction == MarshalDirection.ManagedToUnmanaged)
Marshaling\PrimitiveJSGenerator.cs (1)
19
if (context.CurrentStage == StubIdentifierContext.Stage.
UnmarshalCapture
&& marshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.Bidirectional)
Marshaling\TaskJSGenerator.cs (1)
17
&& ((context.CurrentStage == StubIdentifierContext.Stage.
UnmarshalCapture
&& CodeContext.Direction == MarshalDirection.ManagedToUnmanaged)
Microsoft.Interop.SourceGeneration (7)
GeneratedStatements.cs (4)
38
ErrorUnmarshalCapture = GenerateStage(StubIdentifierContext.Stage.
UnmarshalCapture
, errorHandlingOnly: true),
40
Unmarshal = GenerateStage(StubIdentifierContext.Stage.
UnmarshalCapture
) + GenerateStage(StubIdentifierContext.Stage.Unmarshal),
55
if (stage is StubIdentifierContext.Stage.
UnmarshalCapture
163
StubIdentifierContext.Stage.
UnmarshalCapture
=> "Capture the native data into marshaller instances in case conversion to managed data throws an exception.",
Marshalling\CustomTypeMarshallingGenerator.cs (1)
57
case StubIdentifierContext.Stage.
UnmarshalCapture
:
Marshalling\ElementsMarshalling.cs (2)
182
StubIdentifierContext.Stage.
UnmarshalCapture
, StubIdentifierContext.Stage.Unmarshal);
199
StubIdentifierContext.Stage.
UnmarshalCapture
, StubIdentifierContext.Stage.Unmarshal);