Reflector 8.3.3.115 does not show the "strict" attribute

dybalabjdybalabj Posts: 26 Silver 1
edited August 28, 2014 11:56AM in .NET Reflector Previous Versions
Hello,

When decompiling an assembly to IL using ILDasm, internal abstract or virtual methods typically have the "strict" attribute. However, Reflector does not show this attribute. As an example, you can look at System.Windows.Input.MouseDevice.GetButtonStateFromSystem() in PresentationCore.dll. The C# signature is:
internal abstract MouseButtonState GetButtonStateFromSystem(MouseButton mouseButton);
Reflector shows the following IL signature:
.method assembly hidebysig newslot abstract virtual instance valuetype System.Windows.Input.MouseButtonState GetButtonStateFromSystem(valuetype System.Windows.Input.MouseButton mouseButton) cil managed
ILDasm shows the following IL signature:
.method assembly hidebysig newslot abstract strict virtual instance valuetype System.Windows.Input.MouseButtonState GetButtonStateFromSystem(valuetype System.Windows.Input.MouseButton mouseButton) cil managed
Note the "strict" attribute in the ILDasm version after the "abstract" keyword.

Thanks,

Brandon

Comments

  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi Brandon,

    Many thanks for the post! I've gone ahead and logged an issue for this with reference RP-3684.

    Kind regards,

    Jessica Ramos

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.