15 references to ReturnIndex
Microsoft.Interop.ComInterfaceGenerator (1)
VirtualMethodPointerStubGenerator.cs (1)
183NativeIndex = TypePositionInfo.ReturnIndex,
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSExportGenerator.cs (1)
179ManagedIndex = TypePositionInfo.ReturnIndex,
Microsoft.Interop.SourceGeneration (13)
Marshalling\MarshallerHelpers.cs (2)
342|| info.ManagedIndex is TypePositionInfo.ReturnIndex) 356else if (countInfo.ElementInfo.ManagedIndex is TypePositionInfo.ReturnIndex)
MethodSignatureElementInfoProvider.cs (1)
38ManagedIndex = TypePositionInfo.ReturnIndex
SignatureContext.cs (6)
141ManagedIndex = TypePositionInfo.ReturnIndex, 142NativeIndex = TypePositionInfo.ReturnIndex, 162RefKind = nativeIndex == TypePositionInfo.ReturnIndex ? RefKind.None : RefKind.Out, 178infos.Add(CreateErrorInfo(TypePositionInfo.ReturnIndex)); 183infos.Add(CreateErrorInfo(TypePositionInfo.ReturnIndex)); 205infos.Add(CreateErrorInfo(TypePositionInfo.ReturnIndex));
TypePositionInfo.cs (4)
55return index is UnsetIndex or ReturnIndex or ErrorIndex; 73public bool IsManagedReturnPosition { get => ManagedIndex == ReturnIndex; } 74public bool IsNativeReturnPosition { get => NativeIndex == ReturnIndex; } 106if (info.ManagedIndex is ReturnIndex or ErrorIndex)