.NET CIL Browser - CilBrowser.Core

Type: CilBrowser.Core.SyntaxModel.SyntaxFilter

Types in CilBrowser.Core.SyntaxModel namespace:

SourceParser

SyntaxElement

<EnumerateChildNodes>d__6

SyntaxElementDefinition

<get_End>d__7

<get_Start>d__5

SyntaxElementReader

<ReadAll>d__6

SyntaxFilter

SyntaxKind

SyntaxProvider

.class public auto ansi beforefieldinit CilBrowser.Core.SyntaxModel.SyntaxFilter
extends [netstandard]System.Object
{

 .field private valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> '<Kind>k__BackingField'
 .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
 .custom instance void [netstandard]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [netstandard]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )

 .field private string '<Content>k__BackingField'
 .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
 .custom instance void [netstandard]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [netstandard]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )


 .property instance valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> Kind()
 {
  .get instance valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> CilBrowser.Core.SyntaxModel.SyntaxFilter::get_Kind()
  .set instance void CilBrowser.Core.SyntaxModel.SyntaxFilter::set_Kind(valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind>)
 }

 .property instance string Content()
 {
  .get instance string CilBrowser.Core.SyntaxModel.SyntaxFilter::get_Content()
  .set instance void CilBrowser.Core.SyntaxModel.SyntaxFilter::set_Content(string)
 }

 .method public hidebysig specialname rtspecialname instance void .ctor(
     valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> kind, 
     string content
 ) cil managed
 {
  .maxstack  8

           ldarg.0      
           call         instance void [netstandard]System.Object::.ctor()
           nop          
           nop          
           ldarg.0      
           ldarg.1      
           call         instance void CilBrowser.Core.SyntaxModel.SyntaxFilter::set_Kind(valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind>)
           nop          
           ldarg.0      
           ldarg.2      
           call         instance void CilBrowser.Core.SyntaxModel.SyntaxFilter::set_Content(string)
           nop          
           ret          
 }

 .method public hidebysig specialname instance valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> get_Kind() cil managed
 {
  .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
  .maxstack  8

           ldarg.0      
           ldfld        valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> CilBrowser.Core.SyntaxModel.SyntaxFilter::'<Kind>k__BackingField'
           ret          
 }

 .method public hidebysig specialname instance void set_Kind(
     valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> 'value'
 ) cil managed
 {
  .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
  .maxstack  8

           ldarg.0      
           ldarg.1      
           stfld        valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> CilBrowser.Core.SyntaxModel.SyntaxFilter::'<Kind>k__BackingField'
           ret          
 }

 .method public hidebysig specialname instance string get_Content() cil managed
 {
  .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
  .maxstack  8

           ldarg.0      
           ldfld        string CilBrowser.Core.SyntaxModel.SyntaxFilter::'<Content>k__BackingField'
           ret          
 }

 .method public hidebysig specialname instance void set_Content(
     string 'value'
 ) cil managed
 {
  .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
  .maxstack  8

           ldarg.0      
           ldarg.1      
           stfld        string CilBrowser.Core.SyntaxModel.SyntaxFilter::'<Content>k__BackingField'
           ret          
 }

 .method public hidebysig instance bool IsMatch(
     class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken token
 ) cil managed
 {
  .maxstack  3
  .locals  init (bool V_0,
     bool V_1,
     valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> V_2,
     bool V_3,
     bool V_4)

           nop          
           ldc.i4.1     
           stloc.0      
           ldarg.0      
           call         instance valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> CilBrowser.Core.SyntaxModel.SyntaxFilter::get_Kind()
           stloc.2      
           ldloca.s     V_2
           call         instance bool valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind>::get_HasValue()
           stloc.1      
           ldloc.1      
           brfalse.s    IL_0001
           ldloc.0      
           ldarg.1      
           callvirt     instance valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken::get_Kind()
           ldarg.0      
           call         instance valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind> CilBrowser.Core.SyntaxModel.SyntaxFilter::get_Kind()
           stloc.2      
           ldloca.s     V_2
           call         instance !0 valuetype [netstandard]System.Nullable`1<valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind>::get_Value()
           ceq          
           and          
           stloc.0      
  IL_0001: ldarg.0      
           call         instance string CilBrowser.Core.SyntaxModel.SyntaxFilter::get_Content()
           ldnull       
           cgt.un       
           stloc.3      
           ldloc.3      
           brfalse.s    IL_0002
           ldloc.0      
           ldarg.1      
           callvirt     instance string [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken::get_Content()
           ldarg.0      
           call         instance string CilBrowser.Core.SyntaxModel.SyntaxFilter::get_Content()
           call         bool CilBrowser.Core.Utils::StrEquals(string, string)
           and          
           stloc.0      
  IL_0002: ldloc.0      
           stloc.s      V_4
           br.s         IL_0003
  IL_0003: ldloc.s      V_4
           ret          
 }

}

Back to table of contents


Generated by CIL Browser