mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Removed unnecessary [Friend] attributes
This commit is contained in:
parent
99419097c5
commit
b89e036a6f
4 changed files with 5 additions and 5 deletions
|
@ -166,7 +166,7 @@ namespace System
|
|||
static Object Object_DynamicCastToTypeId(Object obj, int32 typeId)
|
||||
{
|
||||
#if BF_DYNAMIC_CAST_CHECK
|
||||
return obj.[Friend]DynamicCastToTypeId(typeId);
|
||||
return obj.DynamicCastToTypeId(typeId);
|
||||
#else
|
||||
return null;
|
||||
#endif
|
||||
|
|
|
@ -2897,7 +2897,7 @@ namespace System
|
|||
char8 firstC = subStr[0];
|
||||
for (int ofs = startIdx; ofs <= mLength - subStr.mLength; ofs++)
|
||||
{
|
||||
if ((mPtr[ofs] == firstC) && (String.[Friend]Compare(mPtr + ofs + 1, subStr.mLength - 1, subStr.mPtr + 1, subStr.mLength - 1, ignoreCase) == 0))
|
||||
if ((mPtr[ofs] == firstC) && (String.Compare(mPtr + ofs + 1, subStr.mLength - 1, subStr.mPtr + 1, subStr.mLength - 1, ignoreCase) == 0))
|
||||
return ofs;
|
||||
}
|
||||
|
||||
|
@ -2913,7 +2913,7 @@ namespace System
|
|||
for (int ofs = startIdx; ofs <= mLength - subStr.mLength; ofs++)
|
||||
{
|
||||
if (((mPtr[ofs] == firstC) || (mPtr[ofs] == firstC2)) &&
|
||||
(String.[Friend]Compare(mPtr + ofs + 1, subStr.mLength - 1, subStr.mPtr + 1, subStr.mLength - 1, ignoreCase) == 0))
|
||||
(String.Compare(mPtr + ofs + 1, subStr.mLength - 1, subStr.mPtr + 1, subStr.mLength - 1, ignoreCase) == 0))
|
||||
return ofs;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ namespace System.Threading.Tasks
|
|||
protected TResult GetResultCore(bool waitCompletionNotification)
|
||||
{
|
||||
// If the result has not been calculated yet, wait for it.
|
||||
if (!IsCompleted) this.[Friend]InternalWait(Timeout.Infinite, default(CancellationToken)); // won't throw if task faulted or canceled; that's handled below
|
||||
if (!IsCompleted) InternalWait(Timeout.Infinite, default(CancellationToken)); // won't throw if task faulted or canceled; that's handled below
|
||||
|
||||
// Notify the debugger of the wait completion if it's requested such a notification
|
||||
//TODO: Implement
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace System.Threading
|
|||
{
|
||||
static Object Thread_Alloc()
|
||||
{
|
||||
return Thread.[Friend]CreateEmptyThread();
|
||||
return Thread.CreateEmptyThread();
|
||||
}
|
||||
|
||||
static Object Thread_GetMainThread()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue