19 references to UnsetIndex
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (1)
236
foreach (TypePositionInfo nativeArgument in signatureElements.Where(static element => element.NativeIndex != TypePositionInfo.
UnsetIndex
).OrderBy(static element => element.NativeIndex))
JSGeneratorFactory.cs (1)
29
if (MarshallerHelpers.GetMarshalDirection(info, context) != MarshalDirection.UnmanagedToManaged && info.ManagedIndex == TypePositionInfo.
UnsetIndex
)
JSImportGenerator.cs (1)
120
ManagedIndex = TypePositionInfo.
UnsetIndex
,
SignatureBindingHelpers.cs (1)
17
foreach (TypePositionInfo element in elements.Where(static element => element.NativeIndex != TypePositionInfo.
UnsetIndex
).OrderBy(static element => element.NativeIndex))
Microsoft.Interop.SourceGeneration (15)
BoundGenerators.cs (3)
101
else if (errorHandlingInfo.NativeIndex is not (TypePositionInfo.
UnsetIndex
or TypePositionInfo.ExceptionIndex))
183
if (info.ManagedIndex == TypePositionInfo.
UnsetIndex
)
202
if (info.ManagedIndex != TypePositionInfo.
UnsetIndex
)
MarshallingAttributeInfo.cs (4)
143
if (nestedCountElement.ManagedIndex != TypePositionInfo.
UnsetIndex
|| nestedCountElement.NativeIndex != TypePositionInfo.
UnsetIndex
)
153
if (nestedElement.ManagedIndex != TypePositionInfo.
UnsetIndex
|| nestedElement.NativeIndex != TypePositionInfo.
UnsetIndex
)
SignatureContext.cs (2)
182
infos[returnIndex] = returnInfo with { NativeIndex = TypePositionInfo.
UnsetIndex
};
192
infos[hiddenReturnIndex] = hiddenReturnInfo with { NativeIndex = TypePositionInfo.
UnsetIndex
};
TypePositionInfo.cs (6)
49
public const int ReturnIndex =
UnsetIndex
+ 1;
50
public const int ErrorIndex =
UnsetIndex
+ 2;
55
return index is
UnsetIndex
or ReturnIndex or ErrorIndex;
78
public int ManagedIndex { get; init; } =
UnsetIndex
;
79
public int NativeIndex { get; init; } =
UnsetIndex
;
103
if (info.ManagedIndex is
UnsetIndex
)