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