6 references to IsSpecialIndex
Microsoft.Interop.SourceGeneration (6)
BoundGenerators.cs (3)
59if (!TypePositionInfo.IsSpecialIndex(argType.ManagedIndex)) 63if (!TypePositionInfo.IsSpecialIndex(argType.NativeIndex)) 111if (overlappedMarshaller is null && !TypePositionInfo.IsSpecialIndex(managedExceptionInfo.NativeIndex))
MarshalAsParser.cs (1)
81if (IidParameterIndexInfo is { ManagedIndex: int paramIndex } && !TypePositionInfo.IsSpecialIndex(paramIndex))
SignatureContext.cs (1)
32public IEnumerable<TypePositionInfo> ManagedParameters => ElementTypeInformation.Where(tpi => !TypePositionInfo.IsSpecialIndex(tpi.ManagedIndex));
TypePositionInfo.cs (1)
60return IsSpecialIndex(index) ? index : index + 1;