11 references to GetMarshalDirection
Microsoft.Interop.ComInterfaceGenerator (2)
Marshallers\StructAsHResultMarshallerFactory.cs (2)
39if (MarshallerHelpers.GetMarshalDirection(info, codeContext) is MarshalDirection.ManagedToUnmanaged or MarshalDirection.Bidirectional) 57if (MarshallerHelpers.GetMarshalDirection(info, codeContext) is MarshalDirection.UnmanagedToManaged or MarshalDirection.Bidirectional)
Microsoft.Interop.SourceGeneration (9)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (3)
133MarshalDirection elementDirection = MarshallerHelpers.GetMarshalDirection(info, context); 231if (MarshallerHelpers.GetMarshalDirection(info, context) != MarshalDirection.ManagedToUnmanaged) 419MarshalDirection elementDirection = MarshallerHelpers.GetMarshalDirection(info, context);
Marshalling\BlittableMarshaller.cs (1)
65MarshalDirection direction = MarshallerHelpers.GetMarshalDirection(info, codeContext);
Marshalling\BoolMarshaller.cs (1)
52MarshalDirection elementMarshalDirection = MarshallerHelpers.GetMarshalDirection(info, codeContext);
Marshalling\CharMarshaller.cs (2)
82MarshalDirection elementMarshalDirection = MarshallerHelpers.GetMarshalDirection(info, codeContext); 125MarshalDirection elementMarshalDirection = MarshallerHelpers.GetMarshalDirection(info, context);
Marshalling\DelegateMarshaller.cs (1)
32MarshalDirection elementMarshalDirection = MarshallerHelpers.GetMarshalDirection(info, codeContext);
Marshalling\MarshallerHelpers.cs (1)
361return GetMarshalDirection(info, context) switch