Implemented interface member:
property
TypeInfo
Microsoft.Interop.IBoundMarshallingGenerator.TypeInfo
20 references to TypeInfo
Microsoft.Interop.JavaScript.JSImportGenerator (20)
Marshaling\BaseJSGenerator.cs (5)
25
public SignatureBehavior NativeSignatureBehavior =>
TypeInfo
.IsByRef ? SignatureBehavior.PointerToNativeType : SignatureBehavior.NativeType;
27
public ValueBoundaryBehavior ValueBoundaryBehavior =>
TypeInfo
.IsByRef ? ValueBoundaryBehavior.AddressOfNativeIdentifier : ValueBoundaryBehavior.NativeIdentifier;
39
MarshalDirection marshalDirection = MarshallerHelpers.GetMarshalDirection(
TypeInfo
, CodeContext);
42
&& !
TypeInfo
.IsManagedReturnPosition)
44
var (_, js) = context.GetIdentifiers(
TypeInfo
);
Marshaling\FuncJSGenerator.cs (6)
23
var (managed, js) = context.GetIdentifiers(
TypeInfo
);
25
var jsty = (JSFunctionTypeInfo)((JSMarshallingInfo)
TypeInfo
.MarshallingAttributeInfo).TypeInfo;
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\ImplicitArgumentGenerator.cs (1)
21
var (_, js) = context.GetIdentifiers(
TypeInfo
);
Marshaling\PrimitiveJSGenerator.cs (2)
22
var (managed, js) = context.GetIdentifiers(
TypeInfo
);
24
MarshalDirection marshalDirection = MarshallerHelpers.GetMarshalDirection(
TypeInfo
, CodeContext);
Marshaling\TaskJSGenerator.cs (6)
21
var jsty = (JSTaskTypeInfo)((JSMarshallingInfo)
TypeInfo
.MarshallingAttributeInfo).TypeInfo;
23
var (managed, js) = context.GetIdentifiers(
TypeInfo
);
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)