Implemented interface member:
property
CodeContext
Microsoft.Interop.IBoundMarshallingGenerator.CodeContext
12 references to CodeContext
Microsoft.Interop.JavaScript.JSImportGenerator (12)
Marshaling\BaseJSGenerator.cs (1)
32
MarshalDirection marshalDirection = MarshallerHelpers.GetMarshalDirection(TypeInfo,
CodeContext
);
Marshaling\FuncJSGenerator.cs (5)
15
MarshalDirection marshalDirection = MarshallerHelpers.GetMarshalDirection(TypeInfo,
CodeContext
);
18
&& ((context.CurrentStage == StubIdentifierContext.Stage.UnmarshalCapture &&
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged)
19
|| (context.CurrentStage == StubIdentifierContext.Stage.Unmarshal &&
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged)))
25
&& ((context.CurrentStage == StubIdentifierContext.Stage.Marshal &&
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged)
26
|| (context.CurrentStage == StubIdentifierContext.Stage.PinnedMarshal &&
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged)))
Marshaling\PrimitiveJSGenerator.cs (1)
17
MarshalDirection marshalDirection = MarshallerHelpers.GetMarshalDirection(TypeInfo,
CodeContext
);
Marshaling\TaskJSGenerator.cs (5)
14
MarshalDirection marshalDirection = MarshallerHelpers.GetMarshalDirection(TypeInfo,
CodeContext
);
17
&& ((context.CurrentStage == StubIdentifierContext.Stage.UnmarshalCapture &&
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged)
18
|| (context.CurrentStage == StubIdentifierContext.Stage.Unmarshal &&
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged)))
24
&& ((context.CurrentStage == StubIdentifierContext.Stage.Marshal &&
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged)
25
|| (context.CurrentStage == StubIdentifierContext.Stage.PinnedMarshal &&
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged)))