1 write to SignatureIndex
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2504
this.
SignatureIndex
= (byte)signatureIndex;
36 references to SignatureIndex
Microsoft.CodeAnalysis (36)
MetadataReader\PEModule.cs (36)
1114
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1122
if (info.
SignatureIndex
== 0)
1134
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1142
if (info.
SignatureIndex
== 0)
1166
Debug.Assert(info.
SignatureIndex
== 0);
1182
Debug.Assert(info.
SignatureIndex
== 0);
1197
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1302
if (attributeInfo.
SignatureIndex
!= 0)
1304
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1425
if (!info.HasValue || info.
SignatureIndex
!= 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader))
1470
Debug.Assert(targetAttribute.
SignatureIndex
is 0 or 1);
1471
if (targetAttribute.
SignatureIndex
== 0)
1496
info.
SignatureIndex
== 0)
1531
Debug.Assert(info.
SignatureIndex
== 0);
1639
Debug.Assert(info.
SignatureIndex
== 0);
1679
if (ai.
SignatureIndex
== 0)
1720
if (ai.
SignatureIndex
== 0)
1780
switch (attributeInfo.
SignatureIndex
)
1803
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1841
switch (attributeInfo.
SignatureIndex
)
1852
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1860
switch (attributeInfo.
SignatureIndex
)
1866
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1874
switch (attributeInfo.
SignatureIndex
)
1899
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1925
switch (info.
SignatureIndex
)
1948
throw ExceptionUtilities.UnexpectedValue(info.
SignatureIndex
);
2120
if (typeIdentifierInfo.
SignatureIndex
== 1)
3227
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0);
3241
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
3251
if (info.
SignatureIndex
== 0)
3262
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0);