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