13 references to UnsetIndex
Microsoft.Interop.SourceGeneration (13)
BoundGenerators.cs (2)
133if (info.ManagedIndex == TypePositionInfo.UnsetIndex) 147if (info.ManagedIndex != TypePositionInfo.UnsetIndex)
Marshalling\MarshallerHelpers.cs (4)
241if (nestedCountElement.ManagedIndex != TypePositionInfo.UnsetIndex || nestedCountElement.NativeIndex != TypePositionInfo.UnsetIndex) 250if (nestedElement.ManagedIndex != TypePositionInfo.UnsetIndex || nestedElement.NativeIndex != TypePositionInfo.UnsetIndex)
SignatureContext.cs (1)
42if (typeInfo.ManagedIndex != TypePositionInfo.UnsetIndex
TypePositionInfo.cs (6)
50public const int ReturnIndex = UnsetIndex + 1; 51public const int ExceptionIndex = UnsetIndex + 2; 55return index is UnsetIndex or ReturnIndex or ExceptionIndex; 79public int ManagedIndex { get; init; } = UnsetIndex; 80public int NativeIndex { get; init; } = UnsetIndex; 107if (info.ManagedIndex is UnsetIndex)