Implemented interface member:
property
CodeContext
Microsoft.Interop.IBoundMarshallingGenerator.CodeContext
10 references to CodeContext
Microsoft.Interop.JavaScript.JSImportGenerator (10)
Marshaling\BaseJSGenerator.cs (1)
39
MarshalDirection marshalDirection = MarshallerHelpers.GetMarshalDirection(TypeInfo,
CodeContext
);
Marshaling\FuncJSGenerator.cs (4)
30
if (context.CurrentStage == StubIdentifierContext.Stage.UnmarshalCapture &&
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged && TypeInfo.IsManagedReturnPosition)
35
if (context.CurrentStage == StubIdentifierContext.Stage.Marshal &&
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged && TypeInfo.IsManagedReturnPosition)
40
if (context.CurrentStage == StubIdentifierContext.Stage.PinnedMarshal &&
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsManagedReturnPosition)
45
if (context.CurrentStage == StubIdentifierContext.Stage.Unmarshal &&
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsManagedReturnPosition)
Marshaling\PrimitiveJSGenerator.cs (1)
24
MarshalDirection marshalDirection = MarshallerHelpers.GetMarshalDirection(TypeInfo,
CodeContext
);
Marshaling\TaskJSGenerator.cs (4)
25
if (context.CurrentStage == StubIdentifierContext.Stage.UnmarshalCapture &&
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged && TypeInfo.IsManagedReturnPosition)
32
if (context.CurrentStage == StubIdentifierContext.Stage.Marshal &&
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged && TypeInfo.IsManagedReturnPosition)
39
if (context.CurrentStage == StubIdentifierContext.Stage.PinnedMarshal &&
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsManagedReturnPosition)
46
if (context.CurrentStage == StubIdentifierContext.Stage.Unmarshal &&
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsManagedReturnPosition)