mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22: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)
|
static Object Object_DynamicCastToTypeId(Object obj, int32 typeId)
|
||||||
{
|
{
|
||||||
#if BF_DYNAMIC_CAST_CHECK
|
#if BF_DYNAMIC_CAST_CHECK
|
||||||
return obj.[Friend]DynamicCastToTypeId(typeId);
|
return obj.DynamicCastToTypeId(typeId);
|
||||||
#else
|
#else
|
||||||
return null;
|
return null;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2897,7 +2897,7 @@ namespace System
|
||||||
char8 firstC = subStr[0];
|
char8 firstC = subStr[0];
|
||||||
for (int ofs = startIdx; ofs <= mLength - subStr.mLength; ofs++)
|
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;
|
return ofs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2913,7 +2913,7 @@ namespace System
|
||||||
for (int ofs = startIdx; ofs <= mLength - subStr.mLength; ofs++)
|
for (int ofs = startIdx; ofs <= mLength - subStr.mLength; ofs++)
|
||||||
{
|
{
|
||||||
if (((mPtr[ofs] == firstC) || (mPtr[ofs] == firstC2)) &&
|
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;
|
return ofs;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,7 +88,7 @@ namespace System.Threading.Tasks
|
||||||
protected TResult GetResultCore(bool waitCompletionNotification)
|
protected TResult GetResultCore(bool waitCompletionNotification)
|
||||||
{
|
{
|
||||||
// If the result has not been calculated yet, wait for it.
|
// 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
|
// Notify the debugger of the wait completion if it's requested such a notification
|
||||||
//TODO: Implement
|
//TODO: Implement
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace System.Threading
|
||||||
{
|
{
|
||||||
static Object Thread_Alloc()
|
static Object Thread_Alloc()
|
||||||
{
|
{
|
||||||
return Thread.[Friend]CreateEmptyThread();
|
return Thread.CreateEmptyThread();
|
||||||
}
|
}
|
||||||
|
|
||||||
static Object Thread_GetMainThread()
|
static Object Thread_GetMainThread()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue