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