Questions tagged [dotpeek]

dotPeek is a .NET decompiler from JetBrains, the makers of a wide array of developer productivity tools: ReSharper, dotTrace, and dotCover for .NET developers. Also A renowned a family of IDEs for Java, Ruby, Python, PHP, and other languages and Team development tools: TeamCity for continuous integration and build management and YouTrack for issue tracking.

72 questions
0
votes
0 answers

Lots of unused __methodrefs in decompiled C# code

I am using dotPeek and ILSpy to explore some compiled release C# code. Quite a lot of the methods are full of structures like this: // Within method Class.foo()... if (condition) { label_2: switch (7) { case 0: …
Joel Croteau
  • 1,682
  • 12
  • 17
0
votes
0 answers

how to decompile a DLL file to source code?

i need to decompile this DLL file. I searched the whole internet and I found no one is having this problem with Dot peek said it not supported. I try dot peek and it said not supported
0
votes
1 answer

How to add vulnerability to client side of .NET app which parses CSV files

So, I am working on something and I wanted to know any ideas on how and what kind of vulnerabilities I can add to a CSV parsing .NET app on the client side before I move on to the server side. So basically there needs to be a vulnerability in the…
0
votes
1 answer

Unable to compile decompiled code via dotPeek

I'm looking at the following decompiled code and it wouldn't compile because of memberExpression1 and memberExpression2. How do I put the puzzles back, so it compiles? using System.Globalization; using System.Linq.Expressions; using…
nop
  • 4,711
  • 6
  • 32
  • 93
0
votes
1 answer

C#: unpack tuple returned by method to pass it into parent constructor, or other ways to fix "ISSUE: explicit constructor call"

Decompiler (dotPeek) output: class Base { public Base(int d, int e, int f) { // logic Console.WriteLine ("Base constructor"); } } class Child : Base { public Child(string a, string b, string c) { // logic before…
Jedi Knight
  • 367
  • 2
  • 10
0
votes
2 answers

Remove Header from DotPeek files

I am trying to diff two versions of an application via decompiling them with DotPeek and then running a compare between them. But each file adds a header like this to the top: // Decompiled with JetBrains decompiler // Type: Common.ODataList`1 //…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
1 answer

Full of hex codes in ILSpy, dNSpy, dotPeek

I'm trying to explore things with decompiling and I think I hit a wall because I think this is too much for a simple guy like me to comprehend. Is this normal? Or like the developer of the software (exe file) protected/secured it? Is there any…
jebb
  • 11
  • 1
0
votes
1 answer

Using dotPeek, I would like to see the full structure of the UnityEngine namespace

When wondering how the source code of the .NET API is implemented, I check the mscorlib of dotPeek. I recently started studying Unity, and I'm curious about the inside of the UnityEngine namespae. using UnityEngine; // This one! How can I check the…
user18024704
0
votes
1 answer

c# - hiding a connection in a .dll

I'm new to c#, but I need to change an existing program, by merely changing the connection string. The idea is to redirect the connection to a test database environment. I've found that the code uses a dll to create a connection to the server. I…
Kingsley Obeng
  • 75
  • 1
  • 13
0
votes
0 answers

System.Linq.Queryable.dll cannot be Decompiled

I tried use DotPeek to decompile the System.Linq.Queryable.dll, but it only shows the metadata like below, this assembly resides in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Linq.Queryable.dll. But I decompiled another…
IcyBrk
  • 1,090
  • 12
  • 21
0
votes
0 answers

How to create whole solution from published files of an asp.net core 3.1 project?

I lost one week of development because of not committing my code. I work on a personal project and I lost my code I only have the published version of my asp.net core 3.1 project. and my code is not obfuscated. I use DotPeek to open my main dll and…
Habil Harati
  • 172
  • 11
0
votes
1 answer

Dotpeek or dnSpy filter for .NET Core Assemblage

I am working in the context of a .NET Core application, windows service, and I have a compiler error telling me I've got a type that has moved assemblies. I cannot find said type and I have gone all over looking for it. So far, I have tried using a…
Evan Ricard
  • 35
  • 2
  • 10
0
votes
1 answer

FileNotFoundException during runtime (ref to .exe file for debugging)

I've been trying to reference to custom .exe file to debug it. related .pdb file was generated with ildasm, ilasm utilities reference to executable file was added ,but in then end when debug was started i came across with issue: I read that such…
AllmanTool
  • 1,384
  • 1
  • 16
  • 26
0
votes
0 answers

Class..ctor() not found on a struct after porting from Delphi Prism to C#

I have ported a DLL from Delphi Prism (version of Delphi, .Net with Pascal-like syntax) to C#. When my C#-based DLL is loaded from the application build in Delphi, the error arises: Uncaught Exception: System.MissingMethodException: Method not…
Valentin H
  • 7,240
  • 12
  • 61
  • 111
0
votes
1 answer

Debugging a process that has not been started yet?

I am currently trying t debug a schedule task using dot peek symbolserver and visual studio. Problem is that the process which runs the task, is not available until I start the task, which timingwise causes someproblems with breakpoints having to…
famle
  • 471
  • 2
  • 6
  • 10