1 write to SignatureIndex
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2518
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
);
1452
if (!info.HasValue || info.
SignatureIndex
!= 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader))
1497
Debug.Assert(targetAttribute.
SignatureIndex
is 0 or 1);
1498
if (targetAttribute.
SignatureIndex
== 0)
1523
info.
SignatureIndex
== 0)
1558
Debug.Assert(info.
SignatureIndex
== 0);
1666
Debug.Assert(info.
SignatureIndex
== 0);
1706
if (ai.
SignatureIndex
== 0)
1747
if (ai.
SignatureIndex
== 0)
1807
switch (attributeInfo.
SignatureIndex
)
1830
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1868
switch (attributeInfo.
SignatureIndex
)
1879
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1887
switch (attributeInfo.
SignatureIndex
)
1893
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1901
switch (attributeInfo.
SignatureIndex
)
1926
throw ExceptionUtilities.UnexpectedValue(attributeInfo.
SignatureIndex
);
1952
switch (info.
SignatureIndex
)
1975
throw ExceptionUtilities.UnexpectedValue(info.
SignatureIndex
);
2147
if (typeIdentifierInfo.
SignatureIndex
== 1)
3241
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0);
3255
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0 || info.
SignatureIndex
== 1);
3265
if (info.
SignatureIndex
== 0)
3276
Debug.Assert(!info.HasValue || info.
SignatureIndex
== 0);