14 references to ReturnIndex
Microsoft.Interop.ComInterfaceGenerator (3)
ComInterfaceGenerator.cs (2)
315ManagedIndex = TypePositionInfo.ReturnIndex, 331NativeIndex = TypePositionInfo.ReturnIndex
VirtualMethodPointerStubGenerator.cs (1)
227NativeIndex = TypePositionInfo.ReturnIndex
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSGeneratorFactory.cs (1)
36bool isToJs = info.ManagedIndex != TypePositionInfo.ReturnIndex ^ context.Direction == MarshalDirection.UnmanagedToManaged;
Microsoft.Interop.SourceGeneration (10)
Marshalling\MarshallerHelpers.cs (2)
383|| info.ManagedIndex is TypePositionInfo.ReturnIndex) 397else if (countInfo.ElementInfo.ManagedIndex is TypePositionInfo.ReturnIndex)
MethodSignatureElementInfoProvider.cs (1)
37ManagedIndex = TypePositionInfo.ReturnIndex
SignatureContext.cs (3)
43&& typeInfo.ManagedIndex != TypePositionInfo.ReturnIndex) 125ManagedIndex = TypePositionInfo.ReturnIndex, 126NativeIndex = TypePositionInfo.ReturnIndex,
TypePositionInfo.cs (4)
55return index is UnsetIndex or ReturnIndex or ExceptionIndex; 75public bool IsManagedReturnPosition { get => ManagedIndex == ReturnIndex; } 76public bool IsNativeReturnPosition { get => NativeIndex == ReturnIndex; } 110if (info.ManagedIndex is ReturnIndex or ExceptionIndex)