10 writes to NativeIndex
Microsoft.Interop.ComInterfaceGenerator (7)
ComInterfaceGenerator.cs (2)
316
NativeIndex
= symbol.Parameters.Length
331
NativeIndex
= TypePositionInfo.ReturnIndex
VirtualMethodPointerStubGenerator.cs (5)
186
NativeIndex
= 0,
192
NativeIndex
= TypePositionInfo.IncrementIndex(element.NativeIndex)
208
NativeIndex
= 0,
214
NativeIndex
= TypePositionInfo.IncrementIndex(element.NativeIndex)
227
NativeIndex
= TypePositionInfo.ReturnIndex
Microsoft.Interop.SourceGeneration (3)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (1)
216
NativeIndex
= info.NativeIndex,
SignatureContext.cs (2)
117
NativeIndex
= typeInfos.Count
126
NativeIndex
= TypePositionInfo.ReturnIndex,
12 references to NativeIndex
Microsoft.Interop.ComInterfaceGenerator (2)
VirtualMethodPointerStubGenerator.cs (2)
192
NativeIndex = TypePositionInfo.IncrementIndex(element.
NativeIndex
)
214
NativeIndex = TypePositionInfo.IncrementIndex(element.
NativeIndex
)
Microsoft.Interop.SourceGeneration (10)
BoundGenerators.cs (4)
63
if (!TypePositionInfo.IsSpecialIndex(argType.
NativeIndex
))
71
nativeParamMarshallers.Sort(static (m1, m2) => m1.TypeInfo.
NativeIndex
.CompareTo(m2.TypeInfo.
NativeIndex
));
151
return (false, info.
NativeIndex
);
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (1)
216
NativeIndex = info.
NativeIndex
,
Marshalling\MarshallerHelpers.cs (2)
241
if (nestedCountElement.ManagedIndex != TypePositionInfo.UnsetIndex || nestedCountElement.
NativeIndex
!= TypePositionInfo.UnsetIndex)
250
if (nestedElement.ManagedIndex != TypePositionInfo.UnsetIndex || nestedElement.
NativeIndex
!= TypePositionInfo.UnsetIndex)
TypePositionInfo.cs (3)
76
public bool IsNativeReturnPosition { get =>
NativeIndex
== ReturnIndex; }
85
return ManagedIndex == other.ManagedIndex &&
NativeIndex
== other.
NativeIndex
;