Skip to content

Commit 140fa72

Browse files
committed
Fix typos
1 parent 4ce23f4 commit 140fa72

File tree

71 files changed

+263
-263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+263
-263
lines changed

docs/design/features/additional-deps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ The proposed ordering change for 2.1 is:
102102

103103
In addition, the additional-deps will always look for assembly and file version information present in the deps files in order to support "upgrade" scenarios where the additional-deps brings a newer version of a given assembly. Note that these version checks only occur for managed assemblies, not native files nor resource assemblies.
104104

105-
## 2.1 proposal (add runtimeconfig knob to to disable `%DOTNET_ADDITIONAL_DEPS%`)
105+
## 2.1 proposal (add runtimeconfig knob to disable `%DOTNET_ADDITIONAL_DEPS%`)
106106
<strike>
107107
Add an `additionalDepsLookup` option to the runtimeconfig with these values:
108108

docs/design/specs/Ecma-335-Augments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ to allow `callvirt` instructions to be made in a uniform way independent of whet
801801
When followed by the `call` instruction or the `ldftn` instruction,
802802
the method must refer to a virtual static method defined on an interface. The behavior of the
803803
`constrained.` prefix is to change the method that the `call` or `ldftn`
804-
instruction refers to to be the method on `implementorType` which implements the
804+
instruction refers to be the method on `implementorType` which implements the
805805
virtual static method (paragraph *II.10.3*).
806806

807807
(Edit the paragraph "Correctness:" second from the bottom of page 316:)

eng/testing/performance/performance-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ while (($# > 0)); do
193193
echo ""
194194
echo "Advanced settings:"
195195
echo " --framework <value> The framework to run, if not running in master"
196-
echo " --compliationmode <value> The compilation mode if not passing --configurations"
196+
echo " --compilationmode <value> The compilation mode if not passing --configurations"
197197
echo " --sourcedirectory <value> The directory of the sources. Defaults to env:BUILD_SOURCESDIRECTORY"
198198
echo " --repository <value> The name of the repository in the <owner>/<repository name> format. Defaults to env:BUILD_REPOSITORY_NAME"
199199
echo " --branch <value> The name of the branch. Defaults to env:BUILD_SOURCEBRANCH"
@@ -464,4 +464,4 @@ Write-PipelineSetVariable -Name 'iOSLlvmBuild' -Value "$iosllvmbuild" -is_multi_
464464
Write-PipelineSetVariable -name "OnlySanityCheck" -value "$only_sanity" -is_multi_job_variable false
465465

466466
# Put it back to what was set on top of this script
467-
set -x
467+
set -x

src/coreclr/.nuget/Microsoft.CrossOsDiag.Private.CoreCLR/Microsoft.CrossOsDiag.Private.CoreCLR.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<Target Name="VerifyCrossDacProperties" BeforeTargets="Build;Pack">
88
<Error Condition="'$(CrossDacArtifactsDir)' == '' or !Exists('$(CrossDacArtifactsDir)')"
9-
Text="Packaging the Cross OS DAC requires property CrossDacArtifactsDir to to a path containing all cross OS DAC assets needed." />
9+
Text="Packaging the Cross OS DAC requires property CrossDacArtifactsDir to a path containing all cross OS DAC assets needed." />
1010
</Target>
1111

1212
<Target Name="FilterSupportedCrossOsDacPackages" BeforeTargets="Build;Pack">

src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ internal Type[] GetTypesNoLock()
573573
[RequiresUnreferencedCode("Types might be removed")]
574574
private Type? GetTypeNoLock(string className, bool throwOnError, bool ignoreCase)
575575
{
576-
// public API to to a type. The reason that we need this function override from module
576+
// public API to a type. The reason that we need this function override from module
577577
// is because clients might need to get foo[] when foo is being built. For example, if
578578
// foo class contains a data member of type foo[].
579579
// This API first delegate to the Module.GetType implementation. If succeeded, great!

src/coreclr/debug/daccess/dacdbiimpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3611,7 +3611,7 @@ void DacDbiInterfaceImpl::EnumerateMemRangesForLoaderAllocator(PTR_LoaderAllocat
36113611
heapsToEnumerate.Push(pLoaderAllocator->GetStubHeap());
36123612

36133613
// GetVirtualCallStubManager returns VirtualCallStubManager*, but it's really an address to target as
3614-
// pLoaderAllocator is DACized. Cast it so we don't try to to a Host to Target translation.
3614+
// pLoaderAllocator is DACized. Cast it so we don't try to a Host to Target translation.
36153615
VirtualCallStubManager *pVcsMgr = pLoaderAllocator->GetVirtualCallStubManager();
36163616
LOG((LF_CORDB, LL_INFO10000, "DDBII::EMRFLA: VirtualCallStubManager 0x%x\n", PTR_HOST_TO_TADDR(pVcsMgr)));
36173617
if (pVcsMgr)

src/coreclr/debug/daccess/enummem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ HRESULT ClrDataAccess::EnumMemWalkStackHelper(CLRDataEnumMemoryFlags flags,
888888
{
889889
// This method has a generic type token which is required to figure out the exact instantiation
890890
// of the method.
891-
// We need to to use the variable index of the generic type token in order to do the look up.
891+
// We need to use the variable index of the generic type token in order to do the look up.
892892
CLRDATA_ADDRESS address = NULL;
893893
DWORD dwExactGenericArgsTokenIndex = 0;
894894
ReleaseHolder<IXCLRDataValue> pDV(NULL);

src/coreclr/debug/dbgutil/dbgutil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace
2929
DWORD* directoryRVA)
3030
{
3131
// Fun code ahead... below is a hand written PE decoder with some of the file offsets hardcoded.
32-
// It supports no more than what we absolutely have to to get to the PE directory we need. Any of the
32+
// It supports no more than what we absolutely have to get to the PE directory we need. Any of the
3333
// magic numbers used below can be determined by using the public documentation on the web.
3434
//
3535
// Yes utilcode has a PE decoder, no it does not support reading its data through a datatarget

src/coreclr/debug/di/process.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5802,7 +5802,7 @@ void CordbProcess::RawDispatchEvent(
58025802
FramePointer fp = pEvent->ExceptionCallback2.framePointer;
58035803
if (fp != LEAF_MOST_FRAME)
58045804
{
5805-
// The interface forces us to to pass a FramePointer via an ICorDebugFrame.
5805+
// The interface forces us to pass a FramePointer via an ICorDebugFrame.
58065806
// However, we can't get a real ICDFrame without a stackwalk, and we don't
58075807
// want to do a stackwalk now. so pass a netuered proxy frame. The shim
58085808
// can map this to a real frame.

src/coreclr/debug/ee/debugger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16383,7 +16383,7 @@ HRESULT DebuggerHeap::Init(BOOL fExecutable)
1638316383
#endif
1638416384

1638516385
#ifdef USE_INTEROPSAFE_CANARY
16386-
// Small header to to prefix interop-heap blocks.
16386+
// Small header to prefix interop-heap blocks.
1638716387
// This lets us enforce that we don't delete interopheap data from a non-interop heap.
1638816388
struct InteropHeapCanary
1638916389
{

src/coreclr/gc/handletablepriv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ void SegmentTrimExcessPages(TableSegment *pSegment);
796796
/*
797797
* TableAllocBulkHandles
798798
*
799-
* Attempts to allocate the requested number of handes of the specified type.
799+
* Attempts to allocate the requested number of handles of the specified type.
800800
*
801801
* Returns the number of handles that were actually allocated. This is always
802802
* the same as the number of handles requested except in out-of-memory conditions,

src/coreclr/inc/cvinfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3052,7 +3052,7 @@ typedef struct CV_LVARFLAGS {
30523052
unsigned short fIsParam :1; // variable is a parameter
30533053
unsigned short fAddrTaken :1; // address is taken
30543054
unsigned short fCompGenx :1; // variable is compiler generated
3055-
unsigned short fIsAggregate :1; // the symbol is splitted in temporaries,
3055+
unsigned short fIsAggregate :1; // the symbol is split in temporaries,
30563056
// which are treated by compiler as
30573057
// independent entities
30583058
unsigned short fIsAggregated :1; // Counterpart of fIsAggregate - tells

src/coreclr/inc/eetwain.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ virtual OBJECTREF GetInstance(PREGDISPLAY pContext,
254254
EECodeInfo* pCodeInfo) = 0;
255255

256256
/*
257-
Returns the extra argument passed to to shared generic code if it is still alive.
257+
Returns the extra argument passed to shared generic code if it is still alive.
258258
Returns NULL in all other cases.
259259
*/
260260
virtual PTR_VOID GetParamTypeArg(PREGDISPLAY pContext,
@@ -503,7 +503,7 @@ OBJECTREF GetInstance(
503503
EECodeInfo * pCodeInfo);
504504

505505
/*
506-
Returns the extra argument passed to to shared generic code if it is still alive.
506+
Returns the extra argument passed to shared generic code if it is still alive.
507507
Returns NULL in all other cases.
508508
*/
509509
virtual

src/coreclr/jit/assertionprop.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3684,7 +3684,7 @@ GenTree* Compiler::optAssertionProp_LclVar(ASSERT_VALARG_TP assertions, GenTreeL
36843684
{
36853685
// If we have a var definition then bail or
36863686
// If this is the address of the var then it will have the GTF_DONT_CSE
3687-
// flag set and we don't want to to assertion prop on it.
3687+
// flag set and we don't want to assertion prop on it.
36883688
if (tree->gtFlags & (GTF_VAR_DEF | GTF_DONT_CSE))
36893689
{
36903690
return nullptr;
@@ -3789,7 +3789,7 @@ GenTree* Compiler::optAssertionProp_LclFld(ASSERT_VALARG_TP assertions, GenTreeL
37893789
{
37903790
// If we have a var definition then bail or
37913791
// If this is the address of the var then it will have the GTF_DONT_CSE
3792-
// flag set and we don't want to to assertion prop on it.
3792+
// flag set and we don't want to assertion prop on it.
37933793
if (tree->gtFlags & (GTF_VAR_DEF | GTF_DONT_CSE))
37943794
{
37953795
return nullptr;

src/coreclr/jit/emitarm64.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ bool IsRedundantLdStr(instruction ins, regNumber reg1, regNumber reg2, ssize_t i
115115

116116
/************************************************************************
117117
*
118-
* This union is used to to encode/decode the special ARM64 immediate values
118+
* This union is used to encode/decode the special ARM64 immediate values
119119
* that is listed as imm(N,r,s) and referred to as 'bitmask immediate'
120120
*/
121121

@@ -141,7 +141,7 @@ static INT64 emitDecodeBitMaskImm(const emitter::bitMaskImm bmImm, emitAttr size
141141

142142
/************************************************************************
143143
*
144-
* This union is used to to encode/decode the special ARM64 immediate values
144+
* This union is used to encode/decode the special ARM64 immediate values
145145
* that is listed as imm(i16,hw) and referred to as 'halfword immediate'
146146
*/
147147

@@ -192,7 +192,7 @@ static UINT32 emitDecodeByteShiftedImm(const emitter::byteShiftedImm bsImm, emit
192192

193193
/************************************************************************
194194
*
195-
* This union is used to to encode/decode the special ARM64 immediate values
195+
* This union is used to encode/decode the special ARM64 immediate values
196196
* that are use for FMOV immediate and referred to as 'float 8-bit immediate'
197197
*/
198198

@@ -217,7 +217,7 @@ static double emitDecodeFloatImm8(const emitter::floatImm8 fpImm);
217217

218218
/************************************************************************
219219
*
220-
* This union is used to to encode/decode the cond, nzcv and imm5 values for
220+
* This union is used to encode/decode the cond, nzcv and imm5 values for
221221
* instructions that use them in the small constant immediate field
222222
*/
223223

src/coreclr/jit/morph.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5651,7 +5651,7 @@ bool Compiler::fgCanFastTailCall(GenTreeCall* callee, const char** failReason)
56515651
#ifdef TARGET_ARM
56525652
if (arg.AbiInfo.IsSplit())
56535653
{
5654-
reportFastTailCallDecision("Splitted argument in callee is not supported on ARM32");
5654+
reportFastTailCallDecision("Argument splitting in callee is not supported on ARM32");
56555655
return false;
56565656
}
56575657
#endif // TARGET_ARM
@@ -5662,7 +5662,7 @@ bool Compiler::fgCanFastTailCall(GenTreeCall* callee, const char** failReason)
56625662
#ifdef TARGET_ARM
56635663
if (compHasSplitParam)
56645664
{
5665-
reportFastTailCallDecision("Splitted argument in caller is not supported on ARM32");
5665+
reportFastTailCallDecision("Argument splitting in caller is not supported on ARM32");
56665666
return false;
56675667
}
56685668

src/coreclr/jit/scopeinfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ void CodeGenInterface::siVarLoc::siFillStackVarLoc(
359359
//
360360
// Notes:
361361
// The "varLoc" argument is filled depending of the "type" argument but as a VLT_REG... variation.
362-
// "baseReg" and "offset" are used .for not 64 bit and values that are splitted in two parts.
362+
// "baseReg" and "offset" are used .for not 64 bit and values that are split in two parts.
363363
void CodeGenInterface::siVarLoc::siFillRegisterVarLoc(
364364
const LclVarDsc* varDsc, var_types type, regNumber baseReg, int offset, bool isFramePointerUsed)
365365
{

src/coreclr/md/compiler/emit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@ STDMETHODIMP RegMeta::SetParent( // S_OK or error.
13121312

13131313
IfFailGo(m_pStgdb->m_MiniMd.GetMemberRefRecord(RidFromToken(mr), &pMemberRef));
13141314

1315-
// If the token is nil set it to to m_tdModule.
1315+
// If the token is nil set it to m_tdModule.
13161316
tk = IsNilToken(tk) ? m_tdModule : tk;
13171317

13181318
// Set the parent.

src/coreclr/pal/inc/pal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3637,7 +3637,7 @@ to the variable that 'Addend' points to.
36373637
Parameters
36383638

36393639
lpAddend
3640-
[in/out] Pointer to the variable to to added.
3640+
[in/out] Pointer to the variable to added.
36413641

36423642
Return Values
36433643

src/coreclr/pal/src/synchmgr/synchmanager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ namespace CorUnix
613613
// Signal the object and trigger thread awakening
614614
psdSynchData->Signal(pthrCurrent, 1, false);
615615

616-
// Release reference to to SynchData
616+
// Release reference to SynchData
617617
psdSynchData->Release(pthrCurrent);
618618

619619
// Return node to the cache
@@ -1500,7 +1500,7 @@ namespace CorUnix
15001500

15011501
if ((NULL == pSynchManager) || ((LONG)SynchMgrStatusRunning != s_lInitStatus))
15021502
{
1503-
ERROR("Trying to to create worker thread in invalid state\n");
1503+
ERROR("Trying to create worker thread in invalid state\n");
15041504
return ERROR_INTERNAL_ERROR;
15051505
}
15061506

src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/CompilationModuleGroup.ReadyToRun.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ partial class CompilationModuleGroup
7979
/// </summary>
8080
/// <param name="type">Type to get a module token for</param>
8181
/// <param name="token">Module-based token for the type</param>
82-
/// <returns>Returns true the type was referenced by any of the input modules in the current compliation</returns>
82+
/// <returns>Returns true when the type was referenced by any of the input modules in the current compilation</returns>
8383
public abstract bool TryGetModuleTokenForExternalType(TypeDesc type, out ModuleToken token);
8484

8585
/// <summary>

src/coreclr/vm/eetwain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5616,7 +5616,7 @@ GenericParamContextType EECodeManager::GetParamContextType(PREGDISPLAY pCont
56165616

56175617
/*****************************************************************************
56185618
*
5619-
* Returns the extra argument passed to to shared generic code if it is still alive.
5619+
* Returns the extra argument passed to shared generic code if it is still alive.
56205620
* Returns NULL in all other cases.
56215621
*/
56225622
PTR_VOID EECodeManager::GetParamTypeArg(PREGDISPLAY pContext,

src/coreclr/vm/multicorejit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ HRESULT WriteData(IStream * pStream, const void * pData, unsigned len)
187187
return hr;
188188
}
189189

190-
// Write string, round to to DWORD alignment
190+
// Write string, round to DWORD alignment
191191
HRESULT WriteString(const void * pString, unsigned len, IStream * pStream)
192192
{
193193
CONTRACTL

src/coreclr/vm/proftoeeinterfaceimpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8720,7 +8720,7 @@ HRESULT ProfToEEInterfaceImpl::DoStackSnapshot(ThreadID thread,
87208720
// If the profiler did not specify a seed context of its own, use the current one we
87218721
// just produced.
87228722
//
8723-
// Failing to seed the walk can cause us to to "miss" functions on the stack. This is
8723+
// Failing to seed the walk can cause us to "miss" functions on the stack. This is
87248724
// because StackWalkFrames(), when doing an unseeded stackwalk, sets the
87258725
// starting regdisplay's IP/SP to 0. This, in turn causes StackWalkFramesEx
87268726
// to set cf.isFrameless = (pEEJM != NULL); (which is FALSE, since we have no

src/coreclr/vm/threads.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2526,7 +2526,7 @@ int Thread::DecExternalCount(BOOL holdingLock)
25262526
CONTRACT_VIOLATION(ModeViolation);
25272527

25282528
// Clear the handle and leave the lock.
2529-
// We do not have to to DisablePreemptiveGC here, because
2529+
// We do not have to DisablePreemptiveGC here, because
25302530
// we just want to put NULL into a handle.
25312531
StoreObjectInHandle(m_StrongHndToExposedObject, NULL);
25322532

src/coreclr/vm/virtualcallstub.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,7 @@ PCODE VirtualCallStubManager::ResolveWorker(StubCallSite* pCallSite,
19961996

19971997
/*
19981998
Resolve the token in the context of the method table, and set the target to point to
1999-
the address that we should go to to get to the implementation. Return a boolean indicating
1999+
the address that we should go to get to the implementation. Return a boolean indicating
20002000
whether or not this is a permenent choice or a temporary choice. For example, if the code has
20012001
not been jitted yet, return FALSE and set the target to the prestub. If the target is set to NULL,
20022002
it means that the token is not resolvable.
@@ -2399,7 +2399,7 @@ VirtualCallStubManager::GetTarget(
23992399
//----------------------------------------------------------------------------
24002400
/*
24012401
Resolve the token in the context of the method table, and set the target to point to
2402-
the address that we should go to to get to the implementation. Return a boolean indicating
2402+
the address that we should go to get to the implementation. Return a boolean indicating
24032403
whether or not this is a permenent choice or a temporary choice. For example, if the code has
24042404
not been jitted yet, return FALSE and set the target to the prestub. If the target is set to NULL,
24052405
it means that the token is not resolvable.

src/libraries/Microsoft.VisualBasic.Core/src/Microsoft/VisualBasic/CompilerServices/ConversionResolution.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ Namespace Microsoft.VisualBasic.CompilerServices
10401040
End Sub
10411041

10421042
Friend Sub New(ByVal size As Integer)
1043-
'Populate the cache list with the maximum number of entires.
1043+
'Populate the cache list with the maximum number of entries.
10441044
'This simplifies the insertion code for a small upfront cost.
10451045
_size = size
10461046

@@ -1143,7 +1143,7 @@ Namespace Microsoft.VisualBasic.CompilerServices
11431143
End Sub
11441144

11451145
Friend Sub New(ByVal size As Integer)
1146-
'Populate the list with the maximum number of entires.
1146+
'Populate the list with the maximum number of entries.
11471147
'This simplifies the insertion code for a small upfront cost.
11481148
_size = size
11491149

src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/AtomicComposition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace System.ComponentModel.Composition.Hosting
1414
/// queryable state along with a sequence of actions necessary to complete the state when
1515
/// the atomicComposition is no longer in danger of being rolled back. State is completed or
1616
/// rolled back when the atomicComposition is disposed, depending on the state of the
17-
/// CompleteOnDipose property which defaults to false. The using(...) pattern in C# is a
17+
/// CompleteOnDispose property which defaults to false. The using(...) pattern in C# is a
1818
/// convenient mechanism for defining atomicComposition scopes.
1919
///
2020
/// The least obvious aspects of AtomicComposition deal with nesting.

src/libraries/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/AD/ADDNLinkedAttrSet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private bool GetNextSearchResult()
257257
memberFound = _memberSearchResultsEnumerator.MoveNext();
258258

259259
// The search is complete.
260-
// Dipose the searcher and search results.
260+
// Dispose the searcher and search results.
261261
if (!memberFound)
262262
{
263263
_currentMembersSearcher.Dispose();

src/libraries/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/AD/SDSCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace System.DirectoryServices.AccountManagement
1313
{
1414
/// <summary>
15-
/// This is a class designed to cache DirectoryEntires instead of creating them every time.
15+
/// This is a class designed to cache DirectoryEntries instead of creating them every time.
1616
/// </summary>
1717
internal sealed class SDSCache
1818
{

src/libraries/System.Drawing.Common/src/System/Drawing/Graphics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3297,7 +3297,7 @@ private void PopContext(int currentContextState)
32973297
{
32983298
_previousContext = context.Previous;
32993299

3300-
// This will dipose all context object up the stack.
3300+
// This will dispose all context object up the stack.
33013301
context.Dispose();
33023302
return;
33033303
}

0 commit comments

Comments
 (0)