18 references to UnsetIndex
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (1)
392foreach (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)
217ManagedIndex = TypePositionInfo.UnsetIndex,
SignatureBindingHelpers.cs (1)
19foreach (TypePositionInfo element in elements.Where(e => e.NativeIndex != TypePositionInfo.UnsetIndex).OrderBy(e => e.NativeIndex))
Microsoft.Interop.SourceGeneration (14)
BoundGenerators.cs (3)
82else if (managedExceptionInfo.NativeIndex is not (TypePositionInfo.UnsetIndex or TypePositionInfo.ExceptionIndex)) 164if (info.ManagedIndex == TypePositionInfo.UnsetIndex) 178if (info.ManagedIndex != TypePositionInfo.UnsetIndex)
MarshallingAttributeInfo.cs (4)
137if (nestedCountElement.ManagedIndex != TypePositionInfo.UnsetIndex || nestedCountElement.NativeIndex != TypePositionInfo.UnsetIndex) 147if (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)