Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
use sstring
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyAyersMS committed Nov 12, 2018
1 parent d3b07c5 commit bf3c1a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/reflectioninvocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ FCIMPL7(void, RuntimeFieldHandle::SetValue, ReflectFieldObject *pFieldUNSAFE, Ob
if (pEnclosingMT->IsClassInited() && IsFdInitOnly(pFieldDesc->GetAttributes()))
{
DefineFullyQualifiedNameForClassW();
StackSString ssFieldName(SString::Utf8, pFieldDesc->GetName());
SString ssFieldName(SString::Utf8, pFieldDesc->GetName());
COMPlusThrow(kFieldAccessException,
IDS_EE_CANNOT_SET_INITONLY_STATIC_FIELD,
ssFieldName.GetUnicode(),
Expand Down Expand Up @@ -1730,7 +1730,7 @@ FCIMPL5(void, RuntimeFieldHandle::SetValueDirect, ReflectFieldObject *pFieldUNSA
if (pField->IsStatic() && pEnclosingMT->IsClassInited() && IsFdInitOnly(pField->GetAttributes()))
{
DefineFullyQualifiedNameForClassW();
StackSString ssFieldName(SString::Utf8, pField->GetName());
SString ssFieldName(SString::Utf8, pField->GetName());
COMPlusThrow(kFieldAccessException,
IDS_EE_CANNOT_SET_INITONLY_STATIC_FIELD,
ssFieldName.GetUnicode(),
Expand Down

0 comments on commit bf3c1a5

Please sign in to comment.