-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a disabled test for sequence points in all members
- Loading branch information
1 parent
4a7d975
commit 467cbe1
Showing
2 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<symbols> | ||
<files> | ||
<file id="1" name="ICSharpCode.Decompiler.Tests.TestCases.PdbGen\Members.cs" language="C#" checksumAlgorithm="SHA256"><![CDATA[using System; | ||
class C : IDisposable | ||
{ | ||
static C() | ||
{ | ||
} | ||
public C() | ||
{ | ||
} | ||
~C() | ||
{ | ||
} | ||
int ExpressionProperty => 42; | ||
int Property | ||
{ | ||
get { return 0; } | ||
set { } | ||
} | ||
C this[int index] | ||
{ | ||
get => null; | ||
} | ||
C this[string s] | ||
{ | ||
get { return null; } | ||
set { } | ||
} | ||
public static implicit operator C(int i) | ||
{ | ||
return null; | ||
} | ||
public event Action Event | ||
{ | ||
add | ||
{ | ||
} | ||
remove | ||
{ | ||
} | ||
} | ||
void IDisposable.Dispose() | ||
{ | ||
} | ||
static void Main() | ||
{ | ||
var c = new C(); | ||
c.Event += () => { }; | ||
_ = c.Property; | ||
_ = c.ExpressionProperty; | ||
_ = c[0]; | ||
_ = c[""]; | ||
c = 1; | ||
Local(); | ||
void Local() | ||
{ | ||
} | ||
} | ||
} | ||
]]></file> | ||
</files> | ||
<methods> | ||
</methods> | ||
<method-spans> | ||
</method-spans> | ||
</symbols> |