diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/BlazorDiagnosticFactory.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/BlazorDiagnosticFactory.cs
index 715a2447b3..bbf6f84b7b 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/BlazorDiagnosticFactory.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/BlazorDiagnosticFactory.cs
@@ -163,7 +163,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
public static readonly RazorDiagnosticDescriptor BindAttribute_InvalidSyntax =
new RazorDiagnosticDescriptor(
"BL9991",
- () => "The attribute names could not be inferred from bind attibute '{0}'. Bind attributes should be of the form" +
+ () => "The attribute names could not be inferred from bind attribute '{0}'. Bind attributes should be of the form" +
"'bind', 'bind-value' or 'bind-value-change'",
RazorDiagnosticSeverity.Error);
diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ChildContentDiagnosticPass.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ChildContentDiagnosticPass.cs
index d2f099c0c9..bdb5e37705 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ChildContentDiagnosticPass.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ChildContentDiagnosticPass.cs
@@ -43,7 +43,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
public void VisitExtension(ComponentChildContentIntermediateNode node)
{
// Check that each child content has a unique parameter name within its scope. This is important
- // because the parameter name can be implict, and it doesn't work well when nested.
+ // because the parameter name can be implicit, and it doesn't work well when nested.
if (node.IsParameterized)
{
for (var i = 0; i < Ancestors.Count - 1; i++)
@@ -58,9 +58,9 @@ namespace Microsoft.AspNetCore.Blazor.Razor
node.Diagnostics.Add(BlazorDiagnosticFactory.Create_ChildContentRepeatedParameterName(
node.Source,
node,
- (ComponentExtensionNode)Ancestors[0], // Encosing component
+ (ComponentExtensionNode)Ancestors[0], // Enclosing component
ancestor, // conflicting child content node
- (ComponentExtensionNode)Ancestors[i + 1])); // Encosing component of conflicting child content node
+ (ComponentExtensionNode)Ancestors[i + 1])); // Enclosing component of conflicting child content node
}
}
}
diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ComponentDocumentRewritePass.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ComponentDocumentRewritePass.cs
index 65f8ff77d9..81e7dfac54 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ComponentDocumentRewritePass.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ComponentDocumentRewritePass.cs
@@ -258,7 +258,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
// Happy path.
//
// We need to compute a new source span because when we found the start tag before we knew
- // the end poosition of the tag.
+ // the end position of the tag.
var length = end.AbsoluteIndex - popped.Source.Value.AbsoluteIndex;
popped.Source = new SourceSpan(
popped.Source.Value.FilePath,
@@ -426,7 +426,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
// in the DOM, which can accept content that has decoded entities.
//
// In the event that we merge HtmlContent into an HtmlBlock, we need to
- // re-encode the entites. That's done in the HtmlBlock pass.
+ // re-encode the entities. That's done in the HtmlBlock pass.
var tokens = _textSource.Tokenize(HtmlEntityService.Resolver);
return tokens;
}
diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ComponentLoweringPass.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ComponentLoweringPass.cs
index 34cd953c67..10eb13ece1 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ComponentLoweringPass.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ComponentLoweringPass.cs
@@ -140,7 +140,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
//
// We don't want to create a child content for this case, because it can conflict
// with a child content that's set via an attribute. We don't want the formatting
- // of insigificant whitespace to be annoying when setting attributes directly.
+ // of insignificant whitespace to be annoying when setting attributes directly.
if (node.Children.Count == 1 && IsIgnorableWhitespace(node.Children[0]))
{
return;
@@ -149,11 +149,11 @@ namespace Microsoft.AspNetCore.Blazor.Razor
// From here we fork and behave differently based on whether the component's child content is
// implicit or explicit.
//
- // Explict child content will look like:
...
+ // Explicit child content will look like:
...
// compared with implicit:
//
// Using implicit child content:
- // 1. All content is grouped into a single child content lambda, and assiged to the property 'ChildContent'
+ // 1. All content is grouped into a single child content lambda, and assigned to the property 'ChildContent'
//
// Using explicit child content:
// 1. All content must be contained within 'child content' elements that are direct children
@@ -232,7 +232,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
var child = children[i];
if (child is TagHelperBodyIntermediateNode body)
{
- // The body is all of the content we want to render, the rest of the childen will
+ // The body is all of the content we want to render, the rest of the children will
// be the attributes.
for (var j = 0; j < body.Children.Count; j++)
{
diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/EventHandlerTagHelperDescriptorProvider.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/EventHandlerTagHelperDescriptorProvider.cs
index ccb307d677..e5ef926c57 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/EventHandlerTagHelperDescriptorProvider.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/EventHandlerTagHelperDescriptorProvider.cs
@@ -117,7 +117,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
builder.Metadata[TagHelperMetadata.Runtime.Name] = BlazorMetadata.EventHandler.RuntimeName;
// WTE has a bug in 15.7p1 where a Tag Helper without a display-name that looks like
- // a C# property will crash trying to create the toolips.
+ // a C# property will crash trying to create the tooltips.
builder.SetTypeName(entry.TypeName);
builder.TagMatchingRule(rule =>
@@ -148,7 +148,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
a.Metadata.Add(BlazorMetadata.Component.WeaklyTypedKey, bool.TrueString);
// WTE has a bug 15.7p1 where a Tag Helper without a display-name that looks like
- // a C# property will crash trying to create the toolips.
+ // a C# property will crash trying to create the tooltips.
a.SetPropertyName(entry.Attribute);
});
diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/GenericComponentPass.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/GenericComponentPass.cs
index b0d9d881c8..f57bbe413d 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/GenericComponentPass.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/GenericComponentPass.cs
@@ -92,7 +92,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
// We need to verify that an argument was provided that 'covers' each type parameter.
//
// For example, consider a repeater where the generic type is the 'item' type, but the developer has
- // not set the items. We won't be able to do type inference on this and so it will just be nonesense.
+ // not set the items. We won't be able to do type inference on this and so it will just be nonsense.
var attributes = node.Attributes.Select(a => a.BoundAttribute).Concat(node.ChildContents.Select(c => c.BoundAttribute));
foreach (var attribute in attributes)
{
@@ -139,7 +139,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
node.Diagnostics.Add(BlazorDiagnosticFactory.Create_GenericComponentTypeInferenceUnderspecified(node.Source, node, node.Component.GetTypeParameters()));
}
- // Next we need to generate a type inference 'method' node. This repesents a method that we will codegen that
+ // Next we need to generate a type inference 'method' node. This represents a method that we will codegen that
// contains all of the operations on the render tree building. Calling a method to operate on the builder
// will allow the C# compiler to perform type inference.
var documentNode = (DocumentIntermediateNode)Ancestors[Ancestors.Count - 1];
@@ -253,7 +253,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
Bindings = bindings,
Component = node,
- // Method name is generated and guaraneteed not to collide, since it's unique for each
+ // Method name is generated and guaranteed not to collide, since it's unique for each
// component call site.
MethodName = $"Create{node.TagName}_{_id++}",
FullTypeName = @namespace + ".TypeInference",
diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/HtmlBlockPass.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/HtmlBlockPass.cs
index b0c9979f09..5481273f4d 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/HtmlBlockPass.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/HtmlBlockPass.cs
@@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
// Rewrites contiguous subtrees of HTML into a special node type to reduce the
// size of the Render tree.
//
- // Does not preserve insigificant details of the HTML, like tag closing style
+ // Does not preserve insignificant details of the HTML, like tag closing style
// or quote style.
internal class HtmlBlockPass : IntermediateNodePassBase, IRazorOptimizationPass
{
diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/RefTagHelperDescriptorProvider.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/RefTagHelperDescriptorProvider.cs
index 49f0932123..9b7a4343d7 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/RefTagHelperDescriptorProvider.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/RefTagHelperDescriptorProvider.cs
@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Blazor.Shared;
@@ -33,7 +33,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
builder.Metadata[TagHelperMetadata.Runtime.Name] = BlazorMetadata.Ref.RuntimeName;
// WTE has a bug in 15.7p1 where a Tag Helper without a display-name that looks like
- // a C# property will crash trying to create the toolips.
+ // a C# property will crash trying to create the tooltips.
builder.SetTypeName("Microsoft.AspNetCore.Blazor.Components.Ref");
builder.TagMatchingRule(rule =>
@@ -51,7 +51,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
attribute.Name = "ref";
// WTE has a bug 15.7p1 where a Tag Helper without a display-name that looks like
- // a C# property will crash trying to create the toolips.
+ // a C# property will crash trying to create the tooltips.
attribute.SetPropertyName("Ref");
attribute.TypeName = typeof(object).FullName;
});
diff --git a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ScriptTagPass.cs b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ScriptTagPass.cs
index 937a5e9ec6..4e5c29abe7 100644
--- a/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ScriptTagPass.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Razor.Extensions/ScriptTagPass.cs
@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
@@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
{
for (var i = 0; i < node.Children.Count; i++)
{
- // We allow you to supress this error like:
+ // We allow you to suppress this error like:
//
var attribute = node.Children[i] as HtmlAttributeIntermediateNode;
if (attribute != null &&
diff --git a/src/Microsoft.AspNetCore.Blazor.Server/AutoRebuild/AutoRebuildExtensions.cs b/src/Microsoft.AspNetCore.Blazor.Server/AutoRebuild/AutoRebuildExtensions.cs
index 89b8828bd0..78d71d1e00 100644
--- a/src/Microsoft.AspNetCore.Blazor.Server/AutoRebuild/AutoRebuildExtensions.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Server/AutoRebuild/AutoRebuildExtensions.cs
@@ -150,7 +150,7 @@ namespace Microsoft.AspNetCore.Builder
if (!_includedSuffixes.Any(ext => eventArgs.Name.EndsWith(ext, StringComparison.OrdinalIgnoreCase)))
{
- // Not a candiate file type
+ // Not a candidate file type
return;
}
diff --git a/src/Microsoft.AspNetCore.Blazor.Server/Circuits/RemoteUriHelper.cs b/src/Microsoft.AspNetCore.Blazor.Server/Circuits/RemoteUriHelper.cs
index 6a63896fc2..bc82b039b2 100644
--- a/src/Microsoft.AspNetCore.Blazor.Server/Circuits/RemoteUriHelper.cs
+++ b/src/Microsoft.AspNetCore.Blazor.Server/Circuits/RemoteUriHelper.cs
@@ -10,7 +10,7 @@ using Interop = Microsoft.AspNetCore.Blazor.Browser.Services.BrowserUriHelperInt
namespace Microsoft.AspNetCore.Blazor.Server.Circuits
{
///
- /// A Server-Side Blazor implemenation of .
+ /// A Server-Side Blazor implementation of .
///
public class RemoteUriHelper : UriHelperBase
{
diff --git a/test/Microsoft.AspNetCore.Blazor.Build.Test/FilePathRazorIntegrationTest.cs b/test/Microsoft.AspNetCore.Blazor.Build.Test/FilePathRazorIntegrationTest.cs
index 755a56e049..750d9f50a1 100644
--- a/test/Microsoft.AspNetCore.Blazor.Build.Test/FilePathRazorIntegrationTest.cs
+++ b/test/Microsoft.AspNetCore.Blazor.Build.Test/FilePathRazorIntegrationTest.cs
@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
@@ -10,7 +10,7 @@ namespace Microsoft.AspNetCore.Blazor.Build.Test
public class FilePathRazorIntegrationTest : RazorIntegrationTestBase
{
[Fact]
- public void FileNameIsInvalidClasName_SanitizesInvalidClassName()
+ public void FileNameIsInvalidClassName_SanitizesInvalidClassName()
{
// Arrange
diff --git a/test/Microsoft.AspNetCore.Blazor.Build.Test/Razor/InitializeTestFileAttribute.cs b/test/Microsoft.AspNetCore.Blazor.Build.Test/Razor/InitializeTestFileAttribute.cs
index c4bb636f35..ac5b99ca33 100644
--- a/test/Microsoft.AspNetCore.Blazor.Build.Test/Razor/InitializeTestFileAttribute.cs
+++ b/test/Microsoft.AspNetCore.Blazor.Build.Test/Razor/InitializeTestFileAttribute.cs
@@ -7,7 +7,7 @@ using Xunit.Sdk;
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
{
- public class IntializeTestFileAttribute : BeforeAfterTestAttribute
+ public class InitializeTestFileAttribute : BeforeAfterTestAttribute
{
public override void Before(MethodInfo methodUnderTest)
{
diff --git a/test/Microsoft.AspNetCore.Blazor.Build.Test/RazorBaselineIntegrationTestBase.cs b/test/Microsoft.AspNetCore.Blazor.Build.Test/RazorBaselineIntegrationTestBase.cs
index 69098aad9c..f7a94eb697 100644
--- a/test/Microsoft.AspNetCore.Blazor.Build.Test/RazorBaselineIntegrationTestBase.cs
+++ b/test/Microsoft.AspNetCore.Blazor.Build.Test/RazorBaselineIntegrationTestBase.cs
@@ -12,7 +12,7 @@ using Xunit.Sdk;
namespace Microsoft.AspNetCore.Blazor.Build.Test
{
- [IntializeTestFile]
+ [InitializeTestFile]
public abstract class RazorBaselineIntegrationTestBase : RazorIntegrationTestBase
{
private static readonly AsyncLocal _directoryPath = new AsyncLocal();
@@ -198,7 +198,7 @@ namespace Microsoft.AspNetCore.Blazor.Build.Test
using (var writer = new StreamWriter(File.Open(filePath, FileMode.Create)))
{
// Force windows-style line endings so that we're consistent. This isn't
- // required for correctness, but will prevent churcn when developing on OSX.
+ // required for correctness, but will prevent churn when developing on OSX.
writer.NewLine = "\r\n";
for (var i = 0; i < lines.Length; i++)
diff --git a/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/BindTagHelperDescriptorProviderTest.cs b/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/BindTagHelperDescriptorProviderTest.cs
index 4aeb4aad49..e0b4274a2a 100644
--- a/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/BindTagHelperDescriptorProviderTest.cs
+++ b/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/BindTagHelperDescriptorProviderTest.cs
@@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
public class BindTagHelperDescriptorProviderTest : BaseTagHelperDescriptorProviderTest
{
[Fact]
- public void Excecute_FindsBindTagHelperOnComponentType_CreatesDescriptor()
+ public void Execute_FindsBindTagHelperOnComponentType_CreatesDescriptor()
{
// Arrange
var compilation = BaseCompilation.AddSyntaxTrees(Parse(@"
@@ -75,7 +75,7 @@ namespace Test
"delegate to the 'MyPropertyChanged' property of the component.",
bind.Documentation);
- // These are all trivally derived from the assembly/namespace/type name
+ // These are all trivially derived from the assembly/namespace/type name
Assert.Equal("TestAssembly", bind.AssemblyName);
Assert.Equal("Test.MyComponent", bind.Name);
Assert.Equal("Test.MyComponent", bind.DisplayName);
@@ -126,7 +126,7 @@ namespace Test
}
[Fact]
- public void Excecute_NoMatchedPropertiesOnComponent_IgnoresComponent()
+ public void Execute_NoMatchedPropertiesOnComponent_IgnoresComponent()
{
// Arrange
var compilation = BaseCompilation.AddSyntaxTrees(Parse(@"
@@ -168,7 +168,7 @@ namespace Test
}
[Fact]
- public void Excecute_BindOnElement_CreatesDescriptor()
+ public void Execute_BindOnElement_CreatesDescriptor()
{
// Arrange
var compilation = BaseCompilation.AddSyntaxTrees(Parse(@"
@@ -221,7 +221,7 @@ namespace Test
"delegate to the 'myevent' attribute.",
bind.Documentation);
- // These are all trivally derived from the assembly/namespace/type name
+ // These are all trivially derived from the assembly/namespace/type name
Assert.Equal("TestAssembly", bind.AssemblyName);
Assert.Equal("Bind", bind.Name);
Assert.Equal("Test.BindAttributes", bind.DisplayName);
@@ -544,7 +544,7 @@ namespace Test
}
[Fact]
- public void Excecute_BindFallback_CreatesDescriptor()
+ public void Execute_BindFallback_CreatesDescriptor()
{
// Arrange
var compilation = BaseCompilation;
@@ -586,7 +586,7 @@ namespace Test
"to set the value to the 'onchange' attribute.",
bind.Documentation);
- // These are all trivally derived from the assembly/namespace/type name
+ // These are all trivially derived from the assembly/namespace/type name
Assert.Equal("Microsoft.AspNetCore.Blazor", bind.AssemblyName);
Assert.Equal("Bind", bind.Name);
Assert.Equal("Microsoft.AspNetCore.Blazor.Components.Bind", bind.DisplayName);
diff --git a/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/ComponentTagHelperDescriptorProviderTest.cs b/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/ComponentTagHelperDescriptorProviderTest.cs
index ad643ef002..a5a404bcf2 100644
--- a/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/ComponentTagHelperDescriptorProviderTest.cs
+++ b/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/ComponentTagHelperDescriptorProviderTest.cs
@@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
public class ComponentTagHelperDescriptorProviderTest : BaseTagHelperDescriptorProviderTest
{
[Fact]
- public void Excecute_FindsIComponentType_CreatesDescriptor()
+ public void Execute_FindsIComponentType_CreatesDescriptor()
{
// Arrange
@@ -125,7 +125,7 @@ namespace Test
}
[Fact]
- public void Excecute_FindsIComponentType_CreatesDescriptor_Generic()
+ public void Execute_FindsIComponentType_CreatesDescriptor_Generic()
{
// Arrange
@@ -192,7 +192,7 @@ namespace Test
}
[Fact]
- public void Excecute_FindsBlazorComponentType_CreatesDescriptor()
+ public void Execute_FindsBlazorComponentType_CreatesDescriptor()
{
// Arrange
@@ -233,7 +233,7 @@ namespace Test
}
[Fact] // bool properties support minimized attributes
- public void Excecute_BoolProperty_CreatesDescriptor()
+ public void Execute_BoolProperty_CreatesDescriptor()
{
// Arrange
@@ -279,7 +279,7 @@ namespace Test
}
[Fact] // enum properties have some special intellisense behavior
- public void Excecute_EnumProperty_CreatesDescriptor()
+ public void Execute_EnumProperty_CreatesDescriptor()
{
// Arrange
@@ -331,7 +331,7 @@ namespace Test
}
[Fact]
- public void Excecute_GenericProperty_CreatesDescriptor()
+ public void Execute_GenericProperty_CreatesDescriptor()
{
// Arrange
@@ -388,7 +388,7 @@ namespace Test
}
[Fact]
- public void Excecute_MultipleGenerics_CreatesDescriptor()
+ public void Execute_MultipleGenerics_CreatesDescriptor()
{
// Arrange
diff --git a/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/EventHandlerTagHelperDescriptorProviderTest.cs b/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/EventHandlerTagHelperDescriptorProviderTest.cs
index 4c0344202a..c257e5aefd 100644
--- a/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/EventHandlerTagHelperDescriptorProviderTest.cs
+++ b/test/Microsoft.AspNetCore.Blazor.Razor.Extensions.Test/EventHandlerTagHelperDescriptorProviderTest.cs
@@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Blazor.Razor
public class EventHandlerTagHelperDescriptorProviderTest : BaseTagHelperDescriptorProviderTest
{
[Fact]
- public void Excecute_EventHandler_CreatesDescriptor()
+ public void Execute_EventHandler_CreatesDescriptor()
{
// Arrange
var compilation = BaseCompilation.AddSyntaxTrees(Parse(@"
@@ -62,7 +62,7 @@ namespace Test
"A delegate value should be of type 'System.Action'.",
item.Documentation);
- // These are all trivally derived from the assembly/namespace/type name
+ // These are all trivially derived from the assembly/namespace/type name
Assert.Equal("TestAssembly", item.AssemblyName);
Assert.Equal("onclick", item.Name);
Assert.Equal("Test.EventHandlers", item.DisplayName);
diff --git a/test/Microsoft.AspNetCore.Blazor.Test/RenderTreeDiffBuilderTest.cs b/test/Microsoft.AspNetCore.Blazor.Test/RenderTreeDiffBuilderTest.cs
index 7d2bb2923b..0912456450 100644
--- a/test/Microsoft.AspNetCore.Blazor.Test/RenderTreeDiffBuilderTest.cs
+++ b/test/Microsoft.AspNetCore.Blazor.Test/RenderTreeDiffBuilderTest.cs
@@ -1268,7 +1268,7 @@ namespace Microsoft.AspNetCore.Blazor.Test
var newComponentInstance = (FakeComponent)oldTree.GetFrames().Array[0].Component;
// Assert
- Assert.Equal(1, renderBatch.UpdatedComponents.Count); // Because the diff builder only queues child component renders; it doesn't actually perfom them itself
+ Assert.Equal(1, renderBatch.UpdatedComponents.Count); // Because the diff builder only queues child component renders; it doesn't actually perform them itself
Assert.Same(originalComponentInstance, newComponentInstance);
Assert.Equal("String did change", newComponentInstance.StringProperty);
Assert.Same(objectWillNotChange, newComponentInstance.ObjectProperty);
diff --git a/test/Microsoft.AspnetCore.Blazor.Server.Test/Circuits/CircuitSynchronizationContextTest.cs b/test/Microsoft.AspnetCore.Blazor.Server.Test/Circuits/CircuitSynchronizationContextTest.cs
index 74623f5507..89b9cad0e6 100644
--- a/test/Microsoft.AspnetCore.Blazor.Server.Test/Circuits/CircuitSynchronizationContextTest.cs
+++ b/test/Microsoft.AspnetCore.Blazor.Server.Test/Circuits/CircuitSynchronizationContextTest.cs
@@ -278,7 +278,7 @@ namespace Microsoft.AspNetCore.Blazor.Server
}
[Fact]
- public void Send_CanRunSynchonously()
+ public void Send_CanRunSynchronously()
{
// Arrange
var context = new CircuitSynchronizationContext();
diff --git a/test/Microsoft.AspnetCore.Blazor.Server.Test/Circuits/RenderBatchWriterTest.cs b/test/Microsoft.AspnetCore.Blazor.Server.Test/Circuits/RenderBatchWriterTest.cs
index cbdb156fe3..76cc14e2ad 100644
--- a/test/Microsoft.AspnetCore.Blazor.Server.Test/Circuits/RenderBatchWriterTest.cs
+++ b/test/Microsoft.AspnetCore.Blazor.Server.Test/Circuits/RenderBatchWriterTest.cs
@@ -213,7 +213,7 @@ namespace Microsoft.AspNetCore.Blazor.Server
// Testing deduplication
RenderTreeFrame.Attribute(134, "Attribute with string value", "String value"),
- RenderTreeFrame.Element(135, "Some element") // Will be dedupliated
+ RenderTreeFrame.Element(135, "Some element") // Will be deduplicated
.WithElementSubtreeLength(999),
RenderTreeFrame.Text(136, "Some text"), // Will not be deduplicated
RenderTreeFrame.Markup(137, "Some markup"), // Will not be deduplicated
diff --git a/test/testapps/BasicTestApp/BindCasesComponent.cshtml b/test/testapps/BasicTestApp/BindCasesComponent.cshtml
index 9082e18680..91dd1fc786 100644
--- a/test/testapps/BasicTestApp/BindCasesComponent.cshtml
+++ b/test/testapps/BasicTestApp/BindCasesComponent.cshtml
@@ -1,4 +1,4 @@
-
@@ -91,8 +91,8 @@
string textboxInitiallyBlankValue = null;
string textboxInitiallyPopulatedValue = "Hello";
- string textAreaIntiallyBlankValue = null;
- string textAreaIntiallyPopulatedValue = "Hello";
+ string textAreaInitiallyBlankValue = null;
+ string textAreaInitiallyPopulatedValue = "Hello";
bool checkboxInitiallyUncheckedValue = false;
bool checkboxInitiallyCheckedValue = true;
diff --git a/test/testapps/BasicTestApp/Startup.cs b/test/testapps/BasicTestApp/Startup.cs
index 2819c16546..800e7f4c92 100644
--- a/test/testapps/BasicTestApp/Startup.cs
+++ b/test/testapps/BasicTestApp/Startup.cs
@@ -21,7 +21,7 @@ namespace BasicTestApp
if (RuntimeInformation.IsOSPlatform(OSPlatform.Create("WEBASSEMBLY")))
{
// Needed because the test server runs on a different port than the client app,
- // and we want to test sending/receiving cookies undering this config
+ // and we want to test sending/receiving cookies underling this config
BrowserHttpMessageHandler.DefaultCredentials = FetchCredentialsOption.Include;
GC.KeepAlive(ActivateMonoJSRuntime.EnsureActivated());