1 write to SignatureIndex
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2497
this.
SignatureIndex
= (byte)signatureIndex;
36 references to SignatureIndex
Microsoft.CodeAnalysis (36)
MetadataReader\PEModule.cs (36)
1120
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1128
if (info.
SignatureIndex
== 0)
1140
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1148
if (info.
SignatureIndex
== 0)
1172
Debug.Assert(info.
SignatureIndex
== 0);
1188
Debug.Assert(info.
SignatureIndex
== 0);
1203
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
1308
if (attributeInfo.
SignatureIndex
!= 0)
1310
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1431
if (!info.HasValue || info.
SignatureIndex
!= 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader))
1476
Debug.Assert(targetAttribute.
SignatureIndex
is 0 or 1);
1477
if (targetAttribute.
SignatureIndex
== 0)
1502
info.
SignatureIndex
== 0)
1537
Debug.Assert(info.
SignatureIndex
== 0);
1645
Debug.Assert(info.
SignatureIndex
== 0);
1685
if (ai.
SignatureIndex
== 0)
1726
if (ai.
SignatureIndex
== 0)
1786
switch (attributeInfo.
SignatureIndex
)
1809
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1847
switch (attributeInfo.
SignatureIndex
)
1858
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1866
switch (attributeInfo.
SignatureIndex
)
1872
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1880
switch (attributeInfo.
SignatureIndex
)
1905
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1931
switch (info.
SignatureIndex
)
1954
throw ExceptionUtilities.UnexpectedValue(info.
SignatureIndex
);
2126
if (typeIdentifierInfo.
SignatureIndex
== 1)
3220
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0);
3234
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
3244
if (info.
SignatureIndex
== 0)
3255
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0);