1 write to SignatureIndex
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2519
this.
SignatureIndex
= (byte)signatureIndex;
37 references to SignatureIndex
Microsoft.CodeAnalysis (37)
MetadataReader\PEModule.cs (37)
1124
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1132
if (info.
SignatureIndex
== 0)
1144
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1152
if (info.
SignatureIndex
== 0)
1176
Debug.Assert(info.
SignatureIndex
== 0);
1192
Debug.Assert(info.
SignatureIndex
== 0);
1209
Debug.Assert(info.
SignatureIndex
== 0);
1224
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1329
if (attributeInfo.
SignatureIndex
!= 0)
1331
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1453
if (!info.HasValue || info.
SignatureIndex
!= 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader))
1498
Debug.Assert(targetAttribute.
SignatureIndex
is 0 or 1);
1499
if (targetAttribute.
SignatureIndex
== 0)
1524
info.
SignatureIndex
== 0)
1559
Debug.Assert(info.
SignatureIndex
== 0);
1667
Debug.Assert(info.
SignatureIndex
== 0);
1707
if (ai.
SignatureIndex
== 0)
1748
if (ai.
SignatureIndex
== 0)
1808
switch (attributeInfo.
SignatureIndex
)
1831
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1869
switch (attributeInfo.
SignatureIndex
)
1880
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1888
switch (attributeInfo.
SignatureIndex
)
1894
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1902
switch (attributeInfo.
SignatureIndex
)
1927
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1953
switch (info.
SignatureIndex
)
1976
throw ExceptionUtilities.UnexpectedValue(info.
SignatureIndex
);
2148
if (typeIdentifierInfo.
SignatureIndex
== 1)
3242
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0);
3256
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
3266
if (info.
SignatureIndex
== 0)
3277
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0);