Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/coreclr/vm/appdomain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3053,7 +3053,11 @@ void AppDomain::GetParentAssemblyChain(Assembly *pStartAssembly, SString &chain,

StackSString parentName;
pParent->GetDisplayName(parentName);
#ifdef TARGET_UNIX
chain.Append(W("\n --> "));
#else
chain.Append(W("\r\n --> "));
#endif
Comment thread
elinor-fung marked this conversation as resolved.
chain.Append(parentName);

if (pParent->IsSystem())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public override string ToString()
s += Environment.NewLineConst + SR.Format(SR.IO_FileName_Name, _fileName);

if (!string.IsNullOrEmpty(_requestingAssemblyChain))
s += Environment.NewLineConst + SR.Format(SR.IO_FileLoad_RequestedBy, _requestingAssemblyChain.ReplaceLineEndings());
s += Environment.NewLineConst + SR.Format(SR.IO_FileLoad_RequestedBy, _requestingAssemblyChain);
Comment thread
MichalStrehovsky marked this conversation as resolved.

if (InnerException != null)
s += InnerExceptionPrefix + InnerException.ToString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public override string ToString()
s += Environment.NewLineConst + SR.Format(SR.IO_FileName_Name, FileName);

if (!string.IsNullOrEmpty(_requestingAssemblyChain))
s += Environment.NewLineConst + SR.Format(SR.IO_FileLoad_RequestedBy, _requestingAssemblyChain.ReplaceLineEndings());
s += Environment.NewLineConst + SR.Format(SR.IO_FileLoad_RequestedBy, _requestingAssemblyChain);
Comment thread
MichalStrehovsky marked this conversation as resolved.

if (InnerException != null)
s += Environment.NewLineConst + InnerExceptionPrefix + InnerException.ToString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public override string ToString()
s += Environment.NewLineConst + SR.Format(SR.IO_FileName_Name, FileName);

if (!string.IsNullOrEmpty(_requestingAssemblyChain))
s += Environment.NewLineConst + SR.Format(SR.IO_FileLoad_RequestedBy, _requestingAssemblyChain.ReplaceLineEndings());
s += Environment.NewLineConst + SR.Format(SR.IO_FileLoad_RequestedBy, _requestingAssemblyChain);
Comment thread
MichalStrehovsky marked this conversation as resolved.

if (InnerException != null)
s += Environment.NewLineConst + InnerExceptionPrefix + InnerException.ToString();
Expand Down
Loading