29 references to Bidirectional
Microsoft.Interop.ComInterfaceGenerator (9)
ComInterfaceGenerator.cs (1)
399
return MarshalDirection.
Bidirectional
;
ComMethodContext.cs (2)
80
if (GenerationContext.VtableIndexData.Direction is not (MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
) || IsHiddenOnDerivedInterface)
94
if (GenerationContext.VtableIndexData.Direction is not (MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
) || IsHiddenOnDerivedInterface)
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
)
VtableIndexStubGenerator.cs (4)
80
.Where(data => data.VtableIndexData.Direction is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
)
94
.Where(data => data.VtableIndexData.Direction is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
);
145
MarshalDirection direction = MarshalDirection.
Bidirectional
;
265
if (!virtualMethodIndexData.ImplicitThisParameter && virtualMethodIndexData.Direction is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
)
Microsoft.Interop.SourceGeneration (20)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (2)
138
MarshalDirection.
Bidirectional
=> marshallers.GetModeOrDefault(Options.BidirectionalMode),
431
if (elementDirection == MarshalDirection.
Bidirectional
Marshalling\BlittableMarshaller.cs (2)
72
if (direction is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
&& info.IsByRef)
83
if (direction is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
&& info.IsByRef)
Marshalling\BoolMarshaller.cs (2)
60
if (elementMarshalDirection is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
)
76
if (elementMarshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
)
Marshalling\CharMarshaller.cs (2)
89
if (elementMarshalDirection is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
)
105
if (elementMarshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
)
Marshalling\CustomTypeMarshallingGenerator.cs (6)
36
if (elementMarshalDirection is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
49
if (elementMarshalDirection is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
)
55
if (elementMarshalDirection is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
)
61
if (elementMarshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
)
67
if (elementMarshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
74
if (elementMarshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
Marshalling\DelegateMarshaller.cs (3)
39
if (elementMarshalDirection is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
)
58
if (elementMarshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.
Bidirectional
)
80
if (elementMarshalDirection is MarshalDirection.ManagedToUnmanaged or MarshalDirection.
Bidirectional
)
Marshalling\MarshallerHelpers.cs (3)
321
return MarshalDirection.
Bidirectional
;
343
return MarshalDirection.
Bidirectional
;
365
MarshalDirection.
Bidirectional
=> StubIdentifierContext.Stage.CleanupCallerAllocated,