Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jnm2 committed Dec 24, 2019
1 parent a50e2c7 commit 374d128
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Compilers/CSharp/Test/Emit/Emit/CompilationEmitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,8 @@ private protected void PrivateProtectedMethod() { }
compWithReal.SourceModule.GetReferencedAssemblySymbols().Last().GlobalNamespace.GetMembers().Select(m => m.ToDisplayString()));

AssertEx.Equal(
new[] { "void PublicClass.PublicMethod()", "void PublicClass.PrivateMethod()",
new[] { "System.Action PublicClass.PublicEvent", "System.Action PublicClass.InternalEvent",
"void PublicClass.PublicMethod()", "void PublicClass.PrivateMethod()",
"void PublicClass.ProtectedMethod()", "void PublicClass.InternalMethod()",
"void PublicClass.ProtectedInternalMethod()", "void PublicClass.PrivateProtectedMethod()",
"void PublicClass.PublicEvent.add", "void PublicClass.PublicEvent.remove",
Expand Down Expand Up @@ -1785,7 +1786,8 @@ private protected void PrivateProtectedMethod() { }
compWithReal2.SourceModule.GetReferencedAssemblySymbols().Last().GlobalNamespace.GetMembers().Select(m => m.ToDisplayString()));

AssertEx.Equal(
new[] { "void PublicClass.PublicMethod()", "void PublicClass.PrivateMethod()",
new[] { "System.Action PublicClass.PublicEvent", "System.Action PublicClass.InternalEvent",
"void PublicClass.PublicMethod()", "void PublicClass.PrivateMethod()",
"void PublicClass.ProtectedMethod()", "void PublicClass.InternalMethod()",
"void PublicClass.ProtectedInternalMethod()", "void PublicClass.PrivateProtectedMethod()",
"void PublicClass.PublicEvent.add", "void PublicClass.PublicEvent.remove",
Expand Down Expand Up @@ -1813,7 +1815,8 @@ private protected void PrivateProtectedMethod() { }
compWithMetadata.SourceModule.GetReferencedAssemblySymbols().Last().GlobalNamespace.GetMembers().Select(m => m.ToDisplayString()));

AssertEx.Equal(
new[] { "void PublicClass.PublicMethod()", "void PublicClass.PrivateMethod()",
new[] { "System.Action PublicClass.PublicEvent", "System.Action PublicClass.InternalEvent",
"void PublicClass.PublicMethod()", "void PublicClass.PrivateMethod()",
"void PublicClass.ProtectedMethod()", "void PublicClass.InternalMethod()",
"void PublicClass.ProtectedInternalMethod()", "void PublicClass.PrivateProtectedMethod()",
"void PublicClass.PublicEvent.add", "void PublicClass.PublicEvent.remove",
Expand Down

0 comments on commit 374d128

Please sign in to comment.