.NET CIL Browser - CilBrowser.Core

Type: CilBrowser.Core.SyntaxModel.PowerShell.PsCommentToken

Types in CilBrowser.Core.SyntaxModel.PowerShell namespace:

PsCommentToken

PsMultilineCommentToken

PsSyntaxProvider

PsTextLiteralToken

PsTokenFactory

.class private auto ansi beforefieldinit CilBrowser.Core.SyntaxModel.PowerShell.PsCommentToken
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 HasContinuation(
     string prevPart, 
     class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader reader
 ) cil managed
 {
  .maxstack  2
  .locals  init (bool V_0)

           nop          
           ldarg.1      
           ldstr        "\n"
           callvirt     instance bool [netstandard]System.String::EndsWith(string)
           ldc.i4.0     
           ceq          
           stloc.0      
           br.s         IL_0001
  IL_0001: ldloc.0      
           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      
           ldc.i4.s     35
           ceq          
           stloc.1      
           br.s         IL_0001
  IL_0001: ldloc.1      
           ret          
 }

}

Back to table of contents


Generated by CIL Browser