Implemented interface member:
property
TypeInfo
Microsoft.Interop.IBoundMarshallingGenerator.TypeInfo
30 references to TypeInfo
Microsoft.Interop.JavaScript.JSImportGenerator (30)
Marshaling\BaseJSGenerator.cs (3)
46
string argName = context.GetAdditionalIdentifier(
TypeInfo
, "js_arg");
50
if (!
TypeInfo
.IsManagedReturnPosition)
56
Argument(LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(
TypeInfo
.ManagedIndex + 2))))))))))));
Marshaling\FuncJSGenerator.cs (9)
34
string argName = context.GetAdditionalIdentifier(
TypeInfo
, "js_arg");
35
var target =
TypeInfo
.IsManagedReturnPosition
39
var source =
TypeInfo
.IsManagedReturnPosition
40
? Argument(IdentifierName(context.GetIdentifiers(
TypeInfo
).native))
43
var jsty = (JSFunctionTypeInfo)((JSMarshallingInfo)
TypeInfo
.MarshallingAttributeInfo).TypeInfo;
48
if (context.CurrentStage == StubIdentifierContext.Stage.UnmarshalCapture && CodeContext.Direction == MarshalDirection.ManagedToUnmanaged &&
TypeInfo
.IsManagedReturnPosition)
53
if (context.CurrentStage == StubIdentifierContext.Stage.Marshal && CodeContext.Direction == MarshalDirection.UnmanagedToManaged &&
TypeInfo
.IsManagedReturnPosition)
63
if (context.CurrentStage == StubIdentifierContext.Stage.PinnedMarshal && CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !
TypeInfo
.IsManagedReturnPosition)
68
if (context.CurrentStage == StubIdentifierContext.Stage.Unmarshal && CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !
TypeInfo
.IsManagedReturnPosition)
Marshaling\PrimitiveJSGenerator.cs (8)
27
string argName = context.GetAdditionalIdentifier(
TypeInfo
, "js_arg");
28
var target =
TypeInfo
.IsManagedReturnPosition
32
var source =
TypeInfo
.IsManagedReturnPosition
33
? Argument(IdentifierName(context.GetIdentifiers(
TypeInfo
).native))
36
if (context.CurrentStage == StubIdentifierContext.Stage.UnmarshalCapture && CodeContext.Direction == MarshalDirection.ManagedToUnmanaged &&
TypeInfo
.IsManagedReturnPosition)
41
if (context.CurrentStage == StubIdentifierContext.Stage.Marshal && CodeContext.Direction == MarshalDirection.UnmanagedToManaged &&
TypeInfo
.IsManagedReturnPosition)
51
if (context.CurrentStage == StubIdentifierContext.Stage.PinnedMarshal && CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !
TypeInfo
.IsManagedReturnPosition)
56
if (context.CurrentStage == StubIdentifierContext.Stage.Unmarshal && CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !
TypeInfo
.IsManagedReturnPosition)
Marshaling\TaskJSGenerator.cs (10)
24
var jsty = (JSTaskTypeInfo)((JSMarshallingInfo)
TypeInfo
.MarshallingAttributeInfo).TypeInfo;
38
var jsty = (JSTaskTypeInfo)((JSMarshallingInfo)
TypeInfo
.MarshallingAttributeInfo).TypeInfo;
40
string argName = context.GetAdditionalIdentifier(
TypeInfo
, "js_arg");
41
var target =
TypeInfo
.IsManagedReturnPosition
45
var source =
TypeInfo
.IsManagedReturnPosition
46
? Argument(IdentifierName(context.GetIdentifiers(
TypeInfo
).native))
49
if (context.CurrentStage == StubIdentifierContext.Stage.UnmarshalCapture && CodeContext.Direction == MarshalDirection.ManagedToUnmanaged &&
TypeInfo
.IsManagedReturnPosition)
56
if (context.CurrentStage == StubIdentifierContext.Stage.Marshal && CodeContext.Direction == MarshalDirection.UnmanagedToManaged &&
TypeInfo
.IsManagedReturnPosition)
68
if (context.CurrentStage == StubIdentifierContext.Stage.PinnedMarshal && CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !
TypeInfo
.IsManagedReturnPosition)
75
if (context.CurrentStage == StubIdentifierContext.Stage.Unmarshal && CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !
TypeInfo
.IsManagedReturnPosition)