17 references to Out
Microsoft.Interop.SourceGeneration (17)
Marshalling\ByValueMarshalKindSupportDescriptor.cs (1)
91
ByValueContentsMarshalKind.
Out
=> OutSupport.GetSupport(info, out diagnostic),
Marshalling\CustomTypeMarshallingGenerator.cs (1)
89
=> TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
)
Marshalling\ElementsMarshalling.cs (2)
241
if (CollectionSource.CodeContext.Direction is MarshalDirection.UnmanagedToManaged && CollectionSource.TypeInfo.ByValueContentsMarshalKind is ByValueContentsMarshalKind.
Out
)
356
return context.ElementIndirectionLevel != 0 || info.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
|| info.RefKind == RefKind.Out || info.IsNativeReturnPosition;
Marshalling\MarshallerHelpers.cs (1)
19
ByValueContentsMarshalKind.
Out
=> RefKind.Out,
Marshalling\MarshallingGeneratorExtensions.cs (1)
104
if (info.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
Marshalling\StatefulMarshallingStrategy.cs (4)
209
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
)
215
if (CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
252
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
257
if (CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
)
Marshalling\StatelessMarshallingStrategy.cs (5)
253
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
381
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
)
386
if (CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
415
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
420
if (CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
)
TypePositionInfo.cs (2)
40
InOut = In |
Out
123
marshalKind |= ByValueContentsMarshalKind.
Out
;