12 references to RawTokenEncoding
Microsoft.CodeAnalysis (12)
CodeGen\ILBuilderEmit.cs (4)
49
internal void EmitToken(Cci.IReference value, SyntaxNode? syntaxNode, DiagnosticBag diagnostics, Cci.MetadataWriter.
RawTokenEncoding
encoding = 0)
52
if (encoding != Cci.MetadataWriter.
RawTokenEncoding
.None)
67
var token = Cci.MetadataWriter.GetRawToken(Cci.MetadataWriter.
RawTokenEncoding
.GreatestMethodDefinitionRowId, 0);
79
var token = Cci.MetadataWriter.GetRawToken(Cci.MetadataWriter.
RawTokenEncoding
.DocumentRowId, module?.GetSourceDocumentIndexForIL(document) ?? 0xFFFF);
PEWriter\MetadataWriter.cs (8)
3221
public static uint GetRawToken(
RawTokenEncoding
encoding, uint pseudoToken)
3261
var
rawTokenEncoding = (
RawTokenEncoding
)(pseudoToken >> 24);
3262
if (rawTokenEncoding !=
RawTokenEncoding
.None && (uint)pseudoToken != 0xffffffff)
3269
case
RawTokenEncoding
.RowId:
3277
case
RawTokenEncoding
.LiftedVariableId:
3285
case
RawTokenEncoding
.GreatestMethodDefinitionRowId:
3289
case
RawTokenEncoding
.DocumentRowId: