.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

73 lines
1.6 KiB

using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
[assembly: Embedded]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
namespace Issue1325
{
[StandardModule]
internal sealed class Program
{
[STAThread]
public static void Main(string[] args)
{
}
public static void TestCode(Test t, int i)
{
string text = "";
text += File.ReadAllText("Test.txt");
text += "asdf";
t.set_Parameterized(i, text);
t.Unparameterized = text + "asdf";
}
}
internal class Test
{
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[CompilerGenerated]
private string _Unparameterized;
public string Parameterized {
get {
throw new NotImplementedException();
}
set {
throw new NotImplementedException();
}
}
public string Unparameterized {
get;
set;
}
}
}
namespace Microsoft.VisualBasic
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class, Inherited = false)]
[CompilerGenerated]
[EditorBrowsable(EditorBrowsableState.Never)]
[Embedded]
internal sealed class Embedded : Attribute
{
}
}
namespace Microsoft.VisualBasic.CompilerServices
{
[EditorBrowsable(EditorBrowsableState.Never)]
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
[CompilerGenerated]
[Embedded]
internal sealed class StandardModuleAttribute : Attribute
{
}
}