Beispiel #1
0
        public static Source GetSource(this StackFrame frame)
        {
            if (frame.IsStringModule())
            {
                return(new Source(frame.Source, null)
                {
                    origin = frame.Source,
                    presentationHint = "deemphasize"
                });
            }

            return(new Source(frame.Source));
        }
Beispiel #2
0
 public static bool IsStringModule(this StackFrame frame)
 {
     return(frame.Source == "<string>");
 }