19 references to UnsetIndex
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (1)
365foreach (var nativeArg in signatureElements.Where(e => e.NativeIndex != TypePositionInfo.UnsetIndex).OrderBy(e => e.NativeIndex))
JSGeneratorFactory.cs (1)
29if (MarshallerHelpers.GetMarshalDirection(info, context) != MarshalDirection.UnmanagedToManaged && info.ManagedIndex == TypePositionInfo.UnsetIndex)
JSImportGenerator.cs (1)
197ManagedIndex = TypePositionInfo.UnsetIndex,
SignatureBindingHelpers.cs (1)
19foreach (TypePositionInfo element in elements.Where(e => e.NativeIndex != TypePositionInfo.UnsetIndex).OrderBy(e => e.NativeIndex))
Microsoft.Interop.SourceGeneration (15)
BoundGenerators.cs (3)
104else if (errorHandlingInfo.NativeIndex is not (TypePositionInfo.UnsetIndex or TypePositionInfo.ExceptionIndex)) 186if (info.ManagedIndex == TypePositionInfo.UnsetIndex) 205if (info.ManagedIndex != TypePositionInfo.UnsetIndex)
MarshallingAttributeInfo.cs (4)
145if (nestedCountElement.ManagedIndex != TypePositionInfo.UnsetIndex || nestedCountElement.NativeIndex != TypePositionInfo.UnsetIndex) 155if (nestedElement.ManagedIndex != TypePositionInfo.UnsetIndex || nestedElement.NativeIndex != TypePositionInfo.UnsetIndex)
SignatureContext.cs (2)
201infos[returnIndex] = returnInfo with { NativeIndex = TypePositionInfo.UnsetIndex }; 211infos[hiddenReturnIndex] = hiddenReturnInfo with { NativeIndex = TypePositionInfo.UnsetIndex };
TypePositionInfo.cs (6)
50public const int ReturnIndex = UnsetIndex + 1; 51public const int ErrorIndex = UnsetIndex + 2; 56return index is UnsetIndex or ReturnIndex or ErrorIndex; 79public int ManagedIndex { get; init; } = UnsetIndex; 80public int NativeIndex { get; init; } = UnsetIndex; 104if (info.ManagedIndex is UnsetIndex)