17 references to Out
Microsoft.Interop.SourceGeneration (17)
Marshalling\ByValueMarshalKindSupportDescriptor.cs (1)
100
ByValueContentsMarshalKind.
Out
=> OutSupport.GetSupport(info, out diagnostic),
Marshalling\CustomTypeMarshallingGenerator.cs (1)
92
=> TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
)
Marshalling\ElementsMarshalling.cs (2)
448
if (CollectionSource.CodeContext.Direction is MarshalDirection.UnmanagedToManaged && CollectionSource.TypeInfo.ByValueContentsMarshalKind is ByValueContentsMarshalKind.
Out
)
605
return context.ElementIndirectionLevel != 0 || info.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
|| info.RefKind == RefKind.Out || info.IsNativeReturnPosition;
Marshalling\MarshallerHelpers.cs (1)
25
ByValueContentsMarshalKind.
Out
=> RefKind.Out,
Marshalling\MarshallingGeneratorExtensions.cs (1)
120
if (info.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
Marshalling\StatefulMarshallingStrategy.cs (4)
362
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
)
370
if (CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
424
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
432
if (CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
)
Marshalling\StatelessMarshallingStrategy.cs (5)
440
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
653
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
)
662
if (CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
700
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.
Out
))
708
if (CodeContext.Direction == MarshalDirection.UnmanagedToManaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind == ByValueContentsMarshalKind.
Out
)
TypePositionInfo.cs (2)
41
InOut = In |
Out
129
marshalKind |= ByValueContentsMarshalKind.
Out
;