.NET CIL Browser - CilBrowser.Core

Type: CilBrowser.Core.SyntaxModel.PowerShell.PsMultilineCommentToken

Types in CilBrowser.Core.SyntaxModel.PowerShell namespace:

PsCommentToken

PsMultilineCommentToken

PsSyntaxProvider

PsTextLiteralToken

PsTokenFactory

.class private auto ansi beforefieldinit CilBrowser.Core.SyntaxModel.PowerShell.PsMultilineCommentToken
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  3
  .locals  init (bool V_0)

           nop          
           ldarg.1      
           ldstr        "#>"
           ldc.i4.4     
           callvirt     instance bool [netstandard]System.String::EndsWith(string, valuetype [netstandard]System.StringComparison)
           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 (string V_0,
     bool V_1)

           nop          
           ldarg.1      
           ldc.i4.2     
           callvirt     instance string [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader::PeekString(int32)
           stloc.0      
           ldloc.0      
           ldstr        "<#"
           call         bool CilBrowser.Core.Utils::StrEquals(string, string)
           stloc.1      
           br.s         IL_0001
  IL_0001: ldloc.1      
           ret          
 }

}

Back to table of contents


Generated by CIL Browser