.NET CIL Browser - CilBrowser.Core

Type: CilTools.SourceCode.Common.CommonNameToken

Types in CilTools.SourceCode.Common namespace:

CommonNameToken

UnknownTokenFactory

.class private auto ansi beforefieldinit CilTools.SourceCode.Common.CommonNameToken
extends [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition
{

 .method public hidebysig specialname rtspecialname instance void .ctor() cil managed
 {
  .maxstack  8

           ldarg.0      
           call         instance void [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition::.ctor()
           nop          
           ret          
 }

 .method public hidebysig virtual instance bool HasStart(
     class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader reader
 ) cil managed
 {
  .maxstack  2
  .locals  init (char V_0,
     bool V_1)

           nop          
           ldarg.1      
           callvirt     instance char [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader::PeekChar()
           stloc.0      
           ldloc.0      
           call         bool [netstandard]System.Char::IsLetter(char)
           brtrue.s     IL_0001
           ldloc.0      
           ldc.i4.s     95
           ceq          
           br.s         IL_0002
  IL_0001: ldc.i4.1     
  IL_0002: stloc.1      
           br.s         IL_0003
  IL_0003: ldloc.1      
           ret          
 }

 .method public hidebysig virtual instance bool HasContinuation(
     string prevPart, 
     class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader reader
 ) cil managed
 {
  .maxstack  2
  .locals  init (char V_0,
     bool V_1)

           nop          
           ldarg.2      
           callvirt     instance char [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader::PeekChar()
           stloc.0      
           ldloc.0      
           call         bool [netstandard]System.Char::IsLetterOrDigit(char)
           brtrue.s     IL_0001
           ldloc.0      
           ldc.i4.s     95
           ceq          
           br.s         IL_0002
  IL_0001: ldc.i4.1     
  IL_0002: stloc.1      
           br.s         IL_0003
  IL_0003: ldloc.1      
           ret          
 }

}

Back to table of contents


Generated by CIL Browser