13 references to GetMarshalDirection
Microsoft.Interop.ComInterfaceGenerator (2)
Marshallers\StructAsHResultMarshallerFactory.cs (2)
39
if (MarshallerHelpers.
GetMarshalDirection
(info, codeContext) is MarshalDirection.ManagedToUnmanaged or MarshalDirection.Bidirectional)
57
if (MarshallerHelpers.
GetMarshalDirection
(info, codeContext) is MarshalDirection.UnmanagedToManaged or MarshalDirection.Bidirectional)
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSGeneratorFactory.cs (2)
29
if (MarshallerHelpers.
GetMarshalDirection
(info, context) != MarshalDirection.UnmanagedToManaged && info.ManagedIndex == TypePositionInfo.UnsetIndex)
48
bool isToJs = MarshallerHelpers.
GetMarshalDirection
(info, context) == MarshalDirection.ManagedToUnmanaged;
Microsoft.Interop.SourceGeneration (9)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (3)
133
MarshalDirection elementDirection = MarshallerHelpers.
GetMarshalDirection
(info, context);
231
if (MarshallerHelpers.
GetMarshalDirection
(info, context) != MarshalDirection.ManagedToUnmanaged)
419
MarshalDirection elementDirection = MarshallerHelpers.
GetMarshalDirection
(info, context);
Marshalling\BlittableMarshaller.cs (1)
65
MarshalDirection direction = MarshallerHelpers.
GetMarshalDirection
(info, codeContext);
Marshalling\BoolMarshaller.cs (1)
52
MarshalDirection elementMarshalDirection = MarshallerHelpers.
GetMarshalDirection
(info, codeContext);
Marshalling\CharMarshaller.cs (2)
82
MarshalDirection elementMarshalDirection = MarshallerHelpers.
GetMarshalDirection
(info, codeContext);
125
MarshalDirection elementMarshalDirection = MarshallerHelpers.
GetMarshalDirection
(info, context);
Marshalling\DelegateMarshaller.cs (1)
32
MarshalDirection elementMarshalDirection = MarshallerHelpers.
GetMarshalDirection
(info, codeContext);
Marshalling\MarshallerHelpers.cs (1)
334
return
GetMarshalDirection
(info, context) switch