Skip to content

Commit 63b329b

Browse files
Fix typo: defailt -> default (#6938)
* Fix typo.
1 parent 53ffdaa commit 63b329b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Build/Definition/Project.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,11 @@ private Project(XmlReader xmlReader, IDictionary<string, string> globalPropertie
352352
ErrorUtilities.VerifyThrowArgumentLengthIfNotNull(toolsVersion, nameof(toolsVersion));
353353
ErrorUtilities.VerifyThrowArgumentNull(projectCollection, nameof(projectCollection));
354354
ProjectCollection = projectCollection;
355-
var defailtImplementation = new ProjectImpl(this, xmlReader, globalProperties, toolsVersion, subToolsetVersion, loadSettings, evaluationContext);
356-
implementationInternal = (IProjectLinkInternal)defailtImplementation;
357-
implementation = defailtImplementation;
355+
var defaultImplementation = new ProjectImpl(this, xmlReader, globalProperties, toolsVersion, subToolsetVersion, loadSettings, evaluationContext);
356+
implementationInternal = (IProjectLinkInternal)defaultImplementation;
357+
implementation = defaultImplementation;
358358

359-
defailtImplementation.Initialize(globalProperties, toolsVersion, subToolsetVersion, loadSettings, evaluationContext);
359+
defaultImplementation.Initialize(globalProperties, toolsVersion, subToolsetVersion, loadSettings, evaluationContext);
360360
}
361361

362362
/// <summary>
@@ -447,15 +447,15 @@ private Project(string projectFile, IDictionary<string, string> globalProperties
447447
ErrorUtilities.VerifyThrowArgumentNull(projectCollection, nameof(projectCollection));
448448

449449
ProjectCollection = projectCollection;
450-
var defailtImplementation = new ProjectImpl(this, projectFile, globalProperties, toolsVersion, subToolsetVersion, loadSettings, evaluationContext);
451-
implementationInternal = (IProjectLinkInternal)defailtImplementation;
452-
implementation = defailtImplementation;
450+
var defaultImplementation = new ProjectImpl(this, projectFile, globalProperties, toolsVersion, subToolsetVersion, loadSettings, evaluationContext);
451+
implementationInternal = (IProjectLinkInternal)defaultImplementation;
452+
implementation = defaultImplementation;
453453

454454
// Note: not sure why only this ctor flavor do TryUnloadProject
455455
// seems the XmlReader based one should also clean the same way.
456456
try
457457
{
458-
defailtImplementation.Initialize(globalProperties, toolsVersion, subToolsetVersion, loadSettings, evaluationContext);
458+
defaultImplementation.Initialize(globalProperties, toolsVersion, subToolsetVersion, loadSettings, evaluationContext);
459459
}
460460
catch (Exception ex)
461461
{

0 commit comments

Comments
 (0)