15 references to ReturnIndex
Microsoft.Interop.ComInterfaceGenerator (1)
VirtualMethodPointerStubGenerator.cs (1)
332NativeIndex = TypePositionInfo.ReturnIndex,
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSExportGenerator.cs (1)
326ManagedIndex = TypePositionInfo.ReturnIndex,
Microsoft.Interop.SourceGeneration (13)
Marshalling\MarshallerHelpers.cs (2)
363|| info.ManagedIndex is TypePositionInfo.ReturnIndex) 377else if (countInfo.ElementInfo.ManagedIndex is TypePositionInfo.ReturnIndex)
MethodSignatureElementInfoProvider.cs (1)
38ManagedIndex = TypePositionInfo.ReturnIndex
SignatureContext.cs (6)
160ManagedIndex = TypePositionInfo.ReturnIndex, 161NativeIndex = TypePositionInfo.ReturnIndex, 181RefKind = nativeIndex == TypePositionInfo.ReturnIndex ? RefKind.None : RefKind.Out, 197infos.Add(CreateErrorInfo(TypePositionInfo.ReturnIndex)); 202infos.Add(CreateErrorInfo(TypePositionInfo.ReturnIndex)); 224infos.Add(CreateErrorInfo(TypePositionInfo.ReturnIndex));
TypePositionInfo.cs (4)
56return index is UnsetIndex or ReturnIndex or ErrorIndex; 74public bool IsManagedReturnPosition { get => ManagedIndex == ReturnIndex; } 75public bool IsNativeReturnPosition { get => NativeIndex == ReturnIndex; } 107if (info.ManagedIndex is ReturnIndex or ErrorIndex)