Browse Source

Fix IDE2000 globally

pull/3404/merge
Siegfried Pammer 3 days ago
parent
commit
77d9ee73e9
  1. 3
      ICSharpCode.BamlDecompiler/Baml/KnownThings.g.cs
  2. 5
      ICSharpCode.Decompiler.TestRunner/Program.cs
  3. 2
      ICSharpCode.Decompiler.Tests/Helpers/Tester.cs
  4. 1
      ICSharpCode.Decompiler.Tests/Helpers/TestsAssemblyOutput.cs
  5. 3
      ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs
  6. 1
      ICSharpCode.Decompiler.Tests/TestCases/Correctness/Async.cs
  7. 1
      ICSharpCode.Decompiler.Tests/TestCases/Correctness/ComInterop.cs
  8. 1
      ICSharpCode.Decompiler.Tests/TestCases/Correctness/FloatingPointArithmetic.cs
  9. 1
      ICSharpCode.Decompiler.Tests/TestCases/Correctness/LINQRaytracer.cs
  10. 1
      ICSharpCode.Decompiler.Tests/TestCases/Correctness/NullableTests.cs
  11. 2
      ICSharpCode.Decompiler.Tests/TestCases/Correctness/YieldReturn.cs
  12. 4
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs
  13. 2
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.cs
  14. 2
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3611.cs
  15. 1
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/Records.cs
  16. 1
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/RefLocalsAndReturns.cs
  17. 1
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/ShortCircuit.cs
  18. 1
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.cs
  19. 1
      ICSharpCode.Decompiler.Tests/TypeSystem/ReflectionHelperTests.cs
  20. 2
      ICSharpCode.Decompiler.Tests/TypeSystem/TypeSystemLoaderTests.cs
  21. 1
      ICSharpCode.Decompiler.Tests/TypeSystem/TypeSystemTestCase.cs
  22. 1
      ICSharpCode.Decompiler.Tests/Util/FileUtilityTests.cs
  23. 1
      ICSharpCode.Decompiler/CSharp/CallBuilder.cs
  24. 1
      ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs
  25. 3
      ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs
  26. 2
      ICSharpCode.Decompiler/CSharp/OutputVisitor/ITokenWriter.cs
  27. 4
      ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertSpecialsDecorator.cs
  28. 1
      ICSharpCode.Decompiler/CSharp/ProjectDecompiler/ProjectFileWriterDefault.cs
  29. 2
      ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs
  30. 2
      ICSharpCode.Decompiler/CSharp/SequencePointBuilder.cs
  31. 2
      ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs
  32. 1
      ICSharpCode.Decompiler/CSharp/Syntax/DepthFirstAstVisitor.cs
  33. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayCreateExpression.cs
  34. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/BaseReferenceExpression.cs
  35. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CheckedExpression.cs
  36. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DefaultValueExpression.cs
  37. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DirectionExpression.cs
  38. 2
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IsExpression.cs
  39. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedArgumentExpression.cs
  40. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedExpression.cs
  41. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NullReferenceExpression.cs
  42. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ParenthesizedExpression.cs
  43. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/PointerReferenceExpression.cs
  44. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/PrimitiveExpression.cs
  45. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/QueryExpression.cs
  46. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SizeOfExpression.cs
  47. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/StackAllocExpression.cs
  48. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SwitchExpression.cs
  49. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ThisReferenceExpression.cs
  50. 2
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeOfExpression.cs
  51. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeReferenceExpression.cs
  52. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UncheckedExpression.cs
  53. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UndocumentedExpression.cs
  54. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/AttributeSection.cs
  55. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Comment.cs
  56. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Constraint.cs
  57. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/ExternAliasDeclaration.cs
  58. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingAliasDeclaration.cs
  59. 1
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/AnyNode.cs
  60. 1
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/AnyNodeOrNull.cs
  61. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Roles.cs
  62. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/BreakStatement.cs
  63. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/CheckedStatement.cs
  64. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ContinueStatement.cs
  65. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/DoWhileStatement.cs
  66. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/EmptyStatement.cs
  67. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ExpressionStatement.cs
  68. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/FixedStatement.cs
  69. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ForStatement.cs
  70. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ForeachStatement.cs
  71. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/GotoStatement.cs
  72. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/IfElseStatement.cs
  73. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/LabelStatement.cs
  74. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/LockStatement.cs
  75. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ReturnStatement.cs
  76. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/SwitchStatement.cs
  77. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ThrowStatement.cs
  78. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/TryCatchStatement.cs
  79. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/UncheckedStatement.cs
  80. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/UnsafeStatement.cs
  81. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/UsingStatement.cs
  82. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/VariableDeclarationStatement.cs
  83. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/WhileStatement.cs
  84. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/YieldBreakStatement.cs
  85. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/YieldReturnStatement.cs
  86. 1
      ICSharpCode.Decompiler/CSharp/Syntax/SyntaxExtensions.cs
  87. 1
      ICSharpCode.Decompiler/CSharp/Syntax/SyntaxTree.cs
  88. 1
      ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/FixedVariableInitializer.cs
  89. 1
      ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/VariableInitializer.cs
  90. 1
      ICSharpCode.Decompiler/FlowAnalysis/ControlFlowNode.cs
  91. 1
      ICSharpCode.Decompiler/IL/ControlFlow/ConditionDetection.cs
  92. 1
      ICSharpCode.Decompiler/IL/ControlFlow/StateRangeAnalysis.cs
  93. 1
      ICSharpCode.Decompiler/IL/Instructions/CompoundAssignmentInstruction.cs
  94. 1
      ICSharpCode.Decompiler/IL/Instructions/MemoryInstructions.cs
  95. 1
      ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs
  96. 1
      ICSharpCode.Decompiler/IL/Instructions/SimpleInstruction.cs
  97. 1
      ICSharpCode.Decompiler/IL/Instructions/StringToInt.cs
  98. 1
      ICSharpCode.Decompiler/IL/Instructions/UsingInstruction.cs
  99. 1
      ICSharpCode.Decompiler/IL/PointerArithmeticOffset.cs
  100. 1
      ICSharpCode.Decompiler/IL/Transforms/BlockTransform.cs
  101. Some files were not shown because too many files have changed in this diff Show More

3
ICSharpCode.BamlDecompiler/Baml/KnownThings.g.cs

@ -1143,7 +1143,6 @@ namespace ICSharpCode.BamlDecompiler.Baml @@ -1143,7 +1143,6 @@ namespace ICSharpCode.BamlDecompiler.Baml
resources[59] = ("SystemColors", "WindowFrameColorKey", "WindowFrameColor");
resources[60] = ("SystemColors", "WindowTextColorKey", "WindowTextColor");
resources[63] = ("SystemFonts", "CaptionFontSizeKey", "CaptionFontSize");
resources[64] = ("SystemFonts", "CaptionFontFamilyKey", "CaptionFontFamily");
resources[65] = ("SystemFonts", "CaptionFontStyleKey", "CaptionFontStyle");
@ -1175,7 +1174,6 @@ namespace ICSharpCode.BamlDecompiler.Baml @@ -1175,7 +1174,6 @@ namespace ICSharpCode.BamlDecompiler.Baml
resources[91] = ("SystemFonts", "IconFontWeightKey", "IconFontWeight");
resources[92] = ("SystemFonts", "IconFontTextDecorationsKey", "IconFontTextDecorations");
resources[95] = ("SystemParameters", "ThinHorizontalBorderHeightKey", "ThinHorizontalBorderHeight");
resources[96] = ("SystemParameters", "ThinVerticalBorderWidthKey", "ThinVerticalBorderWidth");
resources[97] = ("SystemParameters", "CursorWidthKey", "CursorWidth");
@ -1314,7 +1312,6 @@ namespace ICSharpCode.BamlDecompiler.Baml @@ -1314,7 +1312,6 @@ namespace ICSharpCode.BamlDecompiler.Baml
resources[230] = ("ToolBar", "TextBoxStyleKey", "ToolBarTextBoxStyle");
resources[231] = ("ToolBar", "MenuStyleKey", "ToolBarMenuStyle");
resources[234] = ("SystemColors", "InactiveSelectionHighlightBrushKey", "InactiveSelectionHighlightBrush");
resources[235] = ("SystemColors", "InactiveSelectionHighlightTextBrushKey", "InactiveSelectionHighlightTextBrush");

5
ICSharpCode.Decompiler.TestRunner/Program.cs

@ -54,8 +54,3 @@ public static class Program @@ -54,8 +54,3 @@ public static class Program
return null;
}
}

2
ICSharpCode.Decompiler.Tests/Helpers/Tester.cs

@ -137,7 +137,6 @@ namespace ICSharpCode.Decompiler.Tests.Helpers @@ -137,7 +137,6 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
await RefAssembliesToolset.Fetch("5.0.0", sourcePath: "ref/net5.0").ConfigureAwait(false);
await RefAssembliesToolset.Fetch("10.0.0-rc.2.25502.107", sourcePath: "ref/net10.0").ConfigureAwait(false);
#if DEBUG
await BuildTestRunner("win-x86", "Debug").ConfigureAwait(false);
await BuildTestRunner("win-x64", "Debug").ConfigureAwait(false);
@ -185,7 +184,6 @@ namespace ICSharpCode.Decompiler.Tests.Helpers @@ -185,7 +184,6 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
otherOptions += "/exe ";
}
if (options.HasFlag(AssemblerOptions.UseDebug))
{
otherOptions += "/debug ";

1
ICSharpCode.Decompiler.Tests/Helpers/TestsAssemblyOutput.cs

@ -16,7 +16,6 @@ @@ -16,7 +16,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
using System;
using System.IO;

3
ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs

@ -420,7 +420,6 @@ namespace ICSharpCode.Decompiler.Tests.Semantics @@ -420,7 +420,6 @@ namespace ICSharpCode.Decompiler.Tests.Semantics
Assert.That(ExplicitConversion(typeof(nuint), typeof(UIntPtr)), Is.EqualTo(C.IdentityConversion));
}
[Test]
public void NIntEnumConversion()
{
@ -440,7 +439,6 @@ namespace ICSharpCode.Decompiler.Tests.Semantics @@ -440,7 +439,6 @@ namespace ICSharpCode.Decompiler.Tests.Semantics
Assert.That(!IntegerLiteralConversion(long.MaxValue, typeof(nint)));
}
[Test]
public void IntegerLiteralToNUIntConversions()
{
@ -1209,7 +1207,6 @@ class Test { @@ -1209,7 +1207,6 @@ class Test {
Assert.That(c.IsUserDefined);
}
[Test]
public void UserDefined_CanUseLiftedEvenIfReturnTypeAlreadyNullable()
{

1
ICSharpCode.Decompiler.Tests/TestCases/Correctness/Async.cs

@ -180,7 +180,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness @@ -180,7 +180,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
}
}
public async Task AwaitMultipleCatchBlocks2(Task<int> task)
{
try

1
ICSharpCode.Decompiler.Tests/TestCases/Correctness/ComInterop.cs

@ -16,7 +16,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness @@ -16,7 +16,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
Console.WriteLine(Marshal.GetComSlotForMethodInfo(typeof(IMixedPropsAndMethods).GetEvent("MyEvent1").RemoveMethod));
}
[Guid("761618B8-3994-449A-A96B-F1FF2795EA85")]
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]

1
ICSharpCode.Decompiler.Tests/TestCases/Correctness/FloatingPointArithmetic.cs

@ -72,7 +72,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness @@ -72,7 +72,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
return (float)val;
}
static double CastSignedToDouble(long val)
{
return (double)val;

1
ICSharpCode.Decompiler.Tests/TestCases/Correctness/LINQRaytracer.cs

@ -175,7 +175,6 @@ namespace RayTracer @@ -175,7 +175,6 @@ namespace RayTracer
Roughness = 150
};
public static readonly Surface Shiny =
new Surface() {
Diffuse = pos => Color.Make(1, 1, 1),

1
ICSharpCode.Decompiler.Tests/TestCases/Correctness/NullableTests.cs

@ -91,7 +91,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness @@ -91,7 +91,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
throw new InvalidOperationException();
}
static T GetValue<T>()
{
Console.WriteLine("GetValue");

2
ICSharpCode.Decompiler.Tests/TestCases/Correctness/YieldReturn.cs

@ -251,7 +251,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness @@ -251,7 +251,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
}
}
public static IEnumerable<char> ExceptionHandling()
{
yield return 'a';
@ -411,7 +410,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness @@ -411,7 +410,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
}
}
public static IEnumerable<int> TryFinallyWithTwoExitPoints(bool b)
{
// Uses goto for multiple non-exceptional exits out of try-finally.

4
ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs

@ -158,7 +158,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty @@ -158,7 +158,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
public unsafe int SizeOf = sizeof(SimpleStruct);
}
#if CS120
public class ClassWithPrimaryCtorUsingGlobalParameter(int a)
{
@ -202,8 +201,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty @@ -202,8 +201,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
}
}
public class ClassWithPrimaryCtorUsingGlobalParameterInExpressionAssignedToProperty(int a)
{
public int A { get; set; } = (int)Math.Abs(Math.PI * (double)a);
@ -235,7 +232,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty @@ -235,7 +232,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
}
}
#if CS100
public class PrimaryCtorClassThisChain(Guid id)
{

2
ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.cs

@ -136,7 +136,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty.CustomAttributeSamples @@ -136,7 +136,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty.CustomAttributeSamples
}
}
public class MyClass06
{
public int Prop {
@ -156,7 +155,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty.CustomAttributeSamples @@ -156,7 +155,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty.CustomAttributeSamples
}
}
public class MyClass08
{
public int Prop {

2
ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3611.cs

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty

1
ICSharpCode.Decompiler.Tests/TestCases/Pretty/Records.cs

@ -143,7 +143,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty @@ -143,7 +143,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
public abstract string AbstractProp { get; }
}
public abstract record BaseRecord
{
public string Name { get; }

1
ICSharpCode.Decompiler.Tests/TestCases/Pretty/RefLocalsAndReturns.cs

@ -45,7 +45,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty @@ -45,7 +45,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
}
}
public delegate ref T RefFunc<T>();
public delegate ref readonly T ReadOnlyRefFunc<T>();
public delegate ref TReturn RefFunc<T1, TReturn>(T1 param1);

1
ICSharpCode.Decompiler.Tests/TestCases/Pretty/ShortCircuit.cs

@ -20,7 +20,6 @@ @@ -20,7 +20,6 @@
// csc ShortCircuit.cs /t:Library && ildasm /text ShortCircuit.dll >ShortCircuit.il
// csc ShortCircuit.cs /t:Library /o /out:ShortCircuit.opt.dll && ildasm /text ShortCircuit.opt.dll >ShortCircuit.opt.il
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
public abstract class ShortCircuit

1
ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.cs

@ -1698,7 +1698,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty @@ -1698,7 +1698,6 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
}
}
#if CS110 && NET70
public static string SwitchOverReadOnlySpanChar1(ReadOnlySpan<char> text)
{

1
ICSharpCode.Decompiler.Tests/TypeSystem/ReflectionHelperTests.cs

@ -89,7 +89,6 @@ namespace ICSharpCode.Decompiler.Tests.TypeSystem @@ -89,7 +89,6 @@ namespace ICSharpCode.Decompiler.Tests.TypeSystem
Assert.That(compilation.FindType(typeof(Action<int, short>)).ReflectionName, Is.EqualTo("System.Action`2[[System.Int32],[System.Int16]]"));
}
[Test]
public void TestFindTypeReflectionNameNullableType()
{

2
ICSharpCode.Decompiler.Tests/TypeSystem/TypeSystemLoaderTests.cs

@ -1561,7 +1561,6 @@ namespace ICSharpCode.Decompiler.Tests.TypeSystem @@ -1561,7 +1561,6 @@ namespace ICSharpCode.Decompiler.Tests.TypeSystem
AssertConstantField<decimal>(type, "CNewm", new decimal());
}
[Test]
public void ConstantFieldsSizeOf()
{
@ -1654,7 +1653,6 @@ namespace ICSharpCode.Decompiler.Tests.TypeSystem @@ -1654,7 +1653,6 @@ namespace ICSharpCode.Decompiler.Tests.TypeSystem
Assert.That(c.GetMethods(m => m.Name == "GetCollectionByQuery2").Count(), Is.EqualTo(1));
}
[Test]
public void AttributesUsingNestedMembers()
{

1
ICSharpCode.Decompiler.Tests/TypeSystem/TypeSystemTestCase.cs

@ -495,7 +495,6 @@ namespace ICSharpCode.Decompiler.Tests.TypeSystem @@ -495,7 +495,6 @@ namespace ICSharpCode.Decompiler.Tests.TypeSystem
public const int SObl = sizeof(bool);
public const int SOe = sizeof(MyEnum);
public const byte CNewb = new byte();
public const sbyte CNewsb = new sbyte();
public const char CNewc = new char();

1
ICSharpCode.Decompiler.Tests/Util/FileUtilityTests.cs

@ -106,7 +106,6 @@ namespace ICSharpCode.Decompiler.Tests.Util @@ -106,7 +106,6 @@ namespace ICSharpCode.Decompiler.Tests.Util
Assert.That(!FileUtility.IsBaseDirectory(@"C:\", @"D:\a\b\hello"));
}
[Test]
public void TestIsBaseDirectoryRelative()
{

1
ICSharpCode.Decompiler/CSharp/CallBuilder.cs

@ -2057,7 +2057,6 @@ namespace ICSharpCode.Decompiler.CSharp @@ -2057,7 +2057,6 @@ namespace ICSharpCode.Decompiler.CSharp
}
}
TranslatedExpression HandleDelegateConstruction(IType delegateType, IMethod method, ExpectedTargetDetails expectedTargetDetails, ILInstruction thisArg, ILInstruction inst)
{
var invokeMethod = delegateType.GetDelegateInvokeMethod();

1
ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs

@ -4723,7 +4723,6 @@ namespace ICSharpCode.Decompiler.CSharp @@ -4723,7 +4723,6 @@ namespace ICSharpCode.Decompiler.CSharp
conversionMapping.Add(inputVariable, outputVariable);
}
var lhs = ConstructTuple(inst.Pattern);
return new AssignmentExpression(lhs, rhs)
.WithILInstruction(inst)

3
ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs

@ -162,8 +162,6 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor @@ -162,8 +162,6 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
set;
}
public PropertyFormatting AutoPropertyFormatting { get; set; }
public PropertyFormatting SimplePropertyFormatting { // tested
@ -848,7 +846,6 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor @@ -848,7 +846,6 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
#endregion
#region Keep formatting
public bool KeepCommentsAtFirstColumn {
get;

2
ICSharpCode.Decompiler/CSharp/OutputVisitor/ITokenWriter.cs

@ -175,5 +175,3 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor @@ -175,5 +175,3 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
}
}
}

4
ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertSpecialsDecorator.cs

@ -165,7 +165,3 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor @@ -165,7 +165,3 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
#endregion
}
}

1
ICSharpCode.Decompiler/CSharp/ProjectDecompiler/ProjectFileWriterDefault.cs

@ -144,7 +144,6 @@ namespace ICSharpCode.Decompiler.CSharp.ProjectDecompiler @@ -144,7 +144,6 @@ namespace ICSharpCode.Decompiler.CSharp.ProjectDecompiler
w.WriteElementString("Optimize", "true");
w.WriteEndElement(); // </PropertyGroup> (Release)
w.WriteStartElement("ItemGroup"); // References
foreach (var r in module.AssemblyReferences)
{

2
ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs

@ -1011,7 +1011,6 @@ namespace ICSharpCode.Decompiler.CSharp.Resolver @@ -1011,7 +1011,6 @@ namespace ICSharpCode.Decompiler.CSharp.Resolver
}
}
OperatorMethod[]? bitwiseAndOperators;
public OperatorMethod[] BitwiseAndOperators {
@ -1034,7 +1033,6 @@ namespace ICSharpCode.Decompiler.CSharp.Resolver @@ -1034,7 +1033,6 @@ namespace ICSharpCode.Decompiler.CSharp.Resolver
}
}
OperatorMethod[]? logicalOrOperators;
public OperatorMethod[] LogicalOrOperators {

2
ICSharpCode.Decompiler/CSharp/SequencePointBuilder.cs

@ -18,7 +18,6 @@ @@ -18,7 +18,6 @@
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
@ -546,7 +545,6 @@ namespace ICSharpCode.Decompiler.CSharp @@ -546,7 +545,6 @@ namespace ICSharpCode.Decompiler.CSharp
newList.Add(hidden);
}
List<int> sequencePointCandidates = function.SequencePointCandidates;
int currSPCandidateIndex = 0;

2
ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs

@ -309,7 +309,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax @@ -309,7 +309,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return GetDescendantsImpl(true, descendIntoChildren);
}
IEnumerable<AstNode> GetDescendantsImpl(bool includeSelf, Func<AstNode, bool>? descendIntoChildren = null)
{
if (includeSelf)
@ -923,7 +922,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax @@ -923,7 +922,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
}
#endregion
/// <summary>
/// Gets the node that fully contains the range from startLocation to endLocation.
/// </summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/DepthFirstAstVisitor.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayCreateExpression.cs

@ -16,7 +16,6 @@ @@ -16,7 +16,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/BaseReferenceExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CheckedExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DefaultValueExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DirectionExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
public enum FieldDirection

2
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IsExpression.cs

@ -23,7 +23,6 @@ @@ -23,7 +23,6 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System.Collections.Generic;
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
@ -58,7 +57,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax @@ -58,7 +57,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
AddChild(type, Roles.Type);
}
public override void AcceptVisitor(IAstVisitor visitor)
{
visitor.VisitIsExpression(this);

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedArgumentExpression.cs

@ -16,7 +16,6 @@ @@ -16,7 +16,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NullReferenceExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ParenthesizedExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/PointerReferenceExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/PrimitiveExpression.cs

@ -24,8 +24,6 @@ @@ -24,8 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using ICSharpCode.Decompiler.Util;
namespace ICSharpCode.Decompiler.CSharp.Syntax
@ -75,7 +73,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax @@ -75,7 +73,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
}
}
public LiteralFormat Format {
get { return format; }
set {

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/QueryExpression.cs

@ -266,7 +266,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax @@ -266,7 +266,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
}
}
public class QueryWhereClause : QueryClause
{
public readonly static TokenRole WhereKeywordRole = new TokenRole("where");

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SizeOfExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/StackAllocExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SwitchExpression.cs

@ -16,7 +16,6 @@ @@ -16,7 +16,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ThisReferenceExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

2
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeOfExpression.cs

@ -24,8 +24,6 @@ @@ -24,8 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeReferenceExpression.cs

@ -16,7 +16,6 @@ @@ -16,7 +16,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UncheckedExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UndocumentedExpression.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
public enum UndocumentedExpressionType

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/AttributeSection.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Comment.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
public enum CommentType

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Constraint.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/ExternAliasDeclaration.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingAliasDeclaration.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/AnyNode.cs

@ -16,7 +16,6 @@ @@ -16,7 +16,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/AnyNodeOrNull.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Roles.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
public static class Roles

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/BreakStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/CheckedStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ContinueStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

3
ICSharpCode.Decompiler/CSharp/Syntax/Statements/DoWhileStatement.cs

@ -22,8 +22,7 @@ @@ -22,8 +22,7 @@
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.using System;
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/EmptyStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ExpressionStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/FixedStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ForStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ForeachStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/GotoStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/IfElseStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/LabelStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/LockStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ReturnStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/SwitchStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ThrowStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/TryCatchStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/UncheckedStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/UnsafeStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/UsingStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/VariableDeclarationStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
public class VariableDeclarationStatement : Statement

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/WhileStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/YieldBreakStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/YieldReturnStatement.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/SyntaxExtensions.cs

@ -18,7 +18,6 @@ @@ -18,7 +18,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/SyntaxTree.cs

@ -116,7 +116,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax @@ -116,7 +116,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
}
}
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{
SyntaxTree o = other as SyntaxTree;

1
ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/FixedVariableInitializer.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
/// <summary>

1
ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/VariableInitializer.cs

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
namespace ICSharpCode.Decompiler.CSharp.Syntax
{
public class VariableInitializer : AstNode

1
ICSharpCode.Decompiler/FlowAnalysis/ControlFlowNode.cs

@ -113,7 +113,6 @@ namespace ICSharpCode.Decompiler.FlowAnalysis @@ -113,7 +113,6 @@ namespace ICSharpCode.Decompiler.FlowAnalysis
}
}
/// <summary>
/// Gets whether <c>this</c> dominates <paramref name="node"/>.
/// </summary>

1
ICSharpCode.Decompiler/IL/ControlFlow/ConditionDetection.cs

@ -520,7 +520,6 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow @@ -520,7 +520,6 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow
if (isKeyword1 != isKeyword2)
return isKeyword1 ? -1 : 1;
if (isKeyword1)
{
//for keywords

1
ICSharpCode.Decompiler/IL/ControlFlow/StateRangeAnalysis.cs

@ -274,7 +274,6 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow @@ -274,7 +274,6 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow
rangesForLeave.Add(target, stateRange);
}
/// <summary>
/// Gets a mapping from states to blocks.
///

1
ICSharpCode.Decompiler/IL/Instructions/CompoundAssignmentInstruction.cs

@ -418,4 +418,3 @@ namespace ICSharpCode.Decompiler.IL @@ -418,4 +418,3 @@ namespace ICSharpCode.Decompiler.IL
}
}

1
ICSharpCode.Decompiler/IL/Instructions/MemoryInstructions.cs

@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace ICSharpCode.Decompiler.IL
{
interface ISupportsUnalignedPrefix

1
ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs

@ -569,7 +569,6 @@ namespace ICSharpCode.Decompiler.IL @@ -569,7 +569,6 @@ namespace ICSharpCode.Decompiler.IL
}
}
/// <summary>
/// If this instruction is a conversion of the specified kind, return its argument.
/// Otherwise, return the instruction itself.

1
ICSharpCode.Decompiler/IL/Instructions/SimpleInstruction.cs

@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace ICSharpCode.Decompiler.IL
{
/// <summary>

1
ICSharpCode.Decompiler/IL/Instructions/StringToInt.cs

@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
using System.Collections.Generic;
using ICSharpCode.Decompiler.TypeSystem;

1
ICSharpCode.Decompiler/IL/Instructions/UsingInstruction.cs

@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace ICSharpCode.Decompiler.IL
{
/// <summary>

1
ICSharpCode.Decompiler/IL/PointerArithmeticOffset.cs

@ -113,7 +113,6 @@ namespace ICSharpCode.Decompiler.IL @@ -113,7 +113,6 @@ namespace ICSharpCode.Decompiler.IL
return null;
}
/// <summary>
/// Returns true if <c>inst</c> computes the address of a fixed variable; false if it computes the address of a moveable variable.
/// (see "Fixed and moveable variables" in the C# specification)

1
ICSharpCode.Decompiler/IL/Transforms/BlockTransform.cs

@ -68,7 +68,6 @@ namespace ICSharpCode.Decompiler.IL.Transforms @@ -68,7 +68,6 @@ namespace ICSharpCode.Decompiler.IL.Transforms
}
}
/// <summary>
/// IL transform that runs a list of per-block transforms.
/// </summary>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save