11 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.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)
361
return
GetMarshalDirection
(info, context) switch