Skip to content

Commit c70e458

Browse files
committed
Remove unused constants
1 parent 332a2db commit c70e458

File tree

1 file changed

+0
-63
lines changed

1 file changed

+0
-63
lines changed

AutomaticInterface/Tests/Methods/Methods.cs

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -653,27 +653,6 @@ public void AMethod(out int someOutParameter)
653653
654654
""";
655655

656-
const string expected = """
657-
//--------------------------------------------------------------------------------------------------
658-
// <auto-generated>
659-
// This code was generated by a tool.
660-
//
661-
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
662-
// </auto-generated>
663-
//--------------------------------------------------------------------------------------------------
664-
665-
namespace AutomaticInterfaceExample
666-
{
667-
[global::System.CodeDom.Compiler.GeneratedCode("AutomaticInterface", "")]
668-
public partial interface IDemoClass
669-
{
670-
/// <inheritdoc cref="AutomaticInterfaceExample.DemoClass.AMethod(out int)" />
671-
void AMethod(out int someOutParameter);
672-
673-
}
674-
}
675-
676-
""";
677656
await Verify(Infrastructure.GenerateCode(code));
678657
}
679658

@@ -696,27 +675,6 @@ public void AMethod(in int someOutParameter)
696675
697676
""";
698677

699-
const string expected = """
700-
//--------------------------------------------------------------------------------------------------
701-
// <auto-generated>
702-
// This code was generated by a tool.
703-
//
704-
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
705-
// </auto-generated>
706-
//--------------------------------------------------------------------------------------------------
707-
708-
namespace AutomaticInterfaceExample
709-
{
710-
[global::System.CodeDom.Compiler.GeneratedCode("AutomaticInterface", "")]
711-
public partial interface IDemoClass
712-
{
713-
/// <inheritdoc cref="AutomaticInterfaceExample.DemoClass.AMethod(in int)" />
714-
void AMethod(in int someOutParameter);
715-
716-
}
717-
}
718-
719-
""";
720678
await Verify(Infrastructure.GenerateCode(code));
721679
}
722680

@@ -739,27 +697,6 @@ public void AMethod(ref int someOutParameter)
739697
740698
""";
741699

742-
const string expected = """
743-
//--------------------------------------------------------------------------------------------------
744-
// <auto-generated>
745-
// This code was generated by a tool.
746-
//
747-
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
748-
// </auto-generated>
749-
//--------------------------------------------------------------------------------------------------
750-
751-
namespace AutomaticInterfaceExample
752-
{
753-
[global::System.CodeDom.Compiler.GeneratedCode("AutomaticInterface", "")]
754-
public partial interface IDemoClass
755-
{
756-
/// <inheritdoc cref="AutomaticInterfaceExample.DemoClass.AMethod(ref int)" />
757-
void AMethod(ref int someOutParameter);
758-
759-
}
760-
}
761-
762-
""";
763700
await Verify(Infrastructure.GenerateCode(code));
764701
}
765702
}

0 commit comments

Comments
 (0)