From 173956db73100c9db3d7ee44ddcdba617d0e9034 Mon Sep 17 00:00:00 2001 From: Ben Adams Date: Sat, 11 Nov 2017 17:26:40 +0000 Subject: [PATCH] Update readme --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c07cca6..9c36e3a 100644 --- a/README.md +++ b/README.md @@ -26,18 +26,19 @@ Calling `.ToString()` on the Demystified exception will produce a string stacktr ```csharp System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at bool System.Collections.Generic.List+Enumerator.MoveNextRare() - at bool Program.Iterator(int startAt)+MoveNext() // Resolved enumerator + at IEnumerable Program.Iterator(int startAt)+MoveNext() // Resolved enumerator at bool System.Linq.Enumerable+SelectEnumerableIterator.MoveNext() // Resolved enumerator at string string.Join(string separator, IEnumerable values) at string Program+GenericClass.GenericMethod(ref TSubType value) at async Task Program.MethodAsync(int value) // Resolved async at async Task Program.MethodAsync(TValue value) // Resolved async - at string Program.Method(string value)+()=>{} // Resolved lambda source + at string Program.Method(string value)+()=>{} [0] // lambda source + ordinal + at string Program.Method(string value)+()=>{} [1] // lambda source + ordinal at string Program.RunLambda(Func lambda) at (string val, bool) Program.Method(string value) // Tuple returning - at ref string Program.RefMethod(string value)+LocalFuncRefReturn() // ref return local func - at int Program.RefMethod(string value)+LocalFuncParam(string val) // local function - at string Program.RefMethod(string value) + at ref string Program.RefMethod(in string value)+LocalFuncRefReturn() // ref return local func + at int Program.RefMethod(in string value)+LocalFuncParam(string val) // local function + at string Program.RefMethod(in string value) // in param (readonly ref) at (string val, bool) static Program()+(string s, bool b)=>{} // tuple return static lambda at void static Program()+(string s, bool b)=>{} // void static lambda at void Program.Start((string val, bool) param) // Resolved tuple param @@ -73,6 +74,7 @@ System.InvalidOperationException: Collection was modified; enumeration operation at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) // ? no value at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() // ? no value at Program.<>c__DisplayClass8_0.b__0() // ¯\_(ツ)_/¯ + at Program.<>c__DisplayClass8_0.b__1() // ¯\_(ツ)_/¯ at Program.RunLambda(Func`1 lambda) at Program.Method(String value) at Program.g__LocalFuncRefReturn|10_1(<>c__DisplayClass10_0& ) // local function @@ -99,6 +101,11 @@ Which is far less helpful, and close to jibberish in places * **constructors** Does not match code, output as `.ctor` and `.cctor` + +* **parameters** + + Do not specify qualifier `ref`, `out` or `in` + * **iterators** Cannot determine overload `d__3.MoveNext()` rather than `Iterator(int startAt)+MoveNext()`