2 writes to _preserveSigIndex
Microsoft.CodeAnalysis (2)
Symbols\Attributes\CommonMethodWellKnownAttributeData.cs (2)
18
_dllImportIndex = _methodImplIndex =
_preserveSigIndex
= -1;
50
_preserveSigIndex
= attributeIndex;
4 references to _preserveSigIndex
Microsoft.CodeAnalysis (4)
Symbols\Attributes\CommonMethodWellKnownAttributeData.cs (4)
91
if (_dllImportPreserveSig ||
_preserveSigIndex
>= 0)
102
if ((
_preserveSigIndex
== -1 || _dllImportIndex <
_preserveSigIndex
) &&
112
if (_dllImportIndex >
_preserveSigIndex
&& (_dllImportIndex > _methodImplIndex || (_attributes & MethodImplAttributes.PreserveSig) == 0))