diff --git a/src/Moq/Moq.Sdk/Behavior.cs b/src/Moq/Moq.Sdk/Behavior.cs
index dc1584b1..8829aa14 100644
--- a/src/Moq/Moq.Sdk/Behavior.cs
+++ b/src/Moq/Moq.Sdk/Behavior.cs
@@ -28,7 +28,7 @@ public Behavior(InvokeBehavior invoke, string displayName)
/// delegate and friendly display name.
///
///
- /// Use this constructor overload whenver constructing the display
+ /// Use this constructor overload whenever constructing the display
/// name is somewhat expensive.
///
public Behavior(InvokeBehavior invoke, Lazy displayName)
diff --git a/src/Moq/Moq.Sdk/IMockFactory.cs b/src/Moq/Moq.Sdk/IMockFactory.cs
index bf46adb4..34d4b7c8 100644
--- a/src/Moq/Moq.Sdk/IMockFactory.cs
+++ b/src/Moq/Moq.Sdk/IMockFactory.cs
@@ -15,7 +15,7 @@ public interface IMockFactory
/// The base type (or main interface) of the mock.
/// Additional interfaces implemented by the mock, or an empty array.
///
- /// Contructor arguments if the is a class, rather than an interface, or an empty array.
+ /// Constructor arguments if the is a class, rather than an interface, or an empty array.
///
/// A mock that implements in addition to the specified interfaces (if any).
object CreateMock(Assembly mocksAssembly, Type baseType, Type[] implementedInterfaces, object[] construtorArguments);
diff --git a/src/Moq/Moq.Sdk/MockContext.cs b/src/Moq/Moq.Sdk/MockContext.cs
index 469de904..7135eee0 100644
--- a/src/Moq/Moq.Sdk/MockContext.cs
+++ b/src/Moq/Moq.Sdk/MockContext.cs
@@ -17,7 +17,7 @@ public static class MockContext
///
/// The last invocation on the mock, turned into an
/// ready for use together with the
- /// method to locate the maching to add new behaviors
+ /// method to locate the matching to add new behaviors
/// when a matching invocation is performed.
///
///
diff --git a/src/Moq/Moq/CallbackExtension.cs b/src/Moq/Moq/CallbackExtension.cs
index b1785c0d..9bb485c5 100644
--- a/src/Moq/Moq/CallbackExtension.cs
+++ b/src/Moq/Moq/CallbackExtension.cs
@@ -23,7 +23,7 @@ static TResult Callback(this TResult target, Action 0)
{
var wrapped = behavior.Behaviors.Pop();
diff --git a/src/Moq/Moq/ReturnsBehavior.cs b/src/Moq/Moq/ReturnsBehavior.cs
index fbe4d02d..a8d68db2 100644
--- a/src/Moq/Moq/ReturnsBehavior.cs
+++ b/src/Moq/Moq/ReturnsBehavior.cs
@@ -7,7 +7,7 @@ namespace Moq
{
///
/// A custom behavior for returning values, so that
- /// the actual value to return can be replaced on succesive
+ /// the actual value to return can be replaced on successive
/// method calls.
///
[DebuggerDisplay("{DebuggerValue}", Name = "Returns", Type = nameof(ReturnsBehavior))]
diff --git a/src/Moq/Moq/ReturnsExtension.cs b/src/Moq/Moq/ReturnsExtension.cs
index 17d6fe4e..634cf5b1 100644
--- a/src/Moq/Moq/ReturnsExtension.cs
+++ b/src/Moq/Moq/ReturnsExtension.cs
@@ -66,8 +66,8 @@ static TResult Returns(Delegate value, InvokeBehavior behavior)
var setup = MockContext.CurrentSetup;
if (setup != null)
{
- // TODO: Is this even necessary given that intellisense gives us
- // the rigth compiler safety already?
+ // TODO: Is this even necessary given that IntelliSense gives us
+ // the right compiler safety already?
setup.Invocation.EnsureCompatible(value);
var mock = ((IMocked)setup.Invocation.Target).Mock;
diff --git a/src/Stunts/Stunts.Analyzer/DiagnosticsExtensions.cs b/src/Stunts/Stunts.Analyzer/DiagnosticsExtensions.cs
index 30ff0d40..8c7670ce 100644
--- a/src/Stunts/Stunts.Analyzer/DiagnosticsExtensions.cs
+++ b/src/Stunts/Stunts.Analyzer/DiagnosticsExtensions.cs
@@ -21,7 +21,7 @@ public static class DiagnosticsExtensions
};
///
- /// Gets the diangostics that represent build errors that happen when generated
+ /// Gets the diagnostics that represent build errors that happen when generated
/// code is out of date.
///
public static Diagnostic[] GetCompilationErrors(this Compilation compilation)
diff --git a/src/Stunts/Stunts.Analyzer/StuntGeneratorAnalyzer.cs b/src/Stunts/Stunts.Analyzer/StuntGeneratorAnalyzer.cs
index 074effa9..ca88f156 100644
--- a/src/Stunts/Stunts.Analyzer/StuntGeneratorAnalyzer.cs
+++ b/src/Stunts/Stunts.Analyzer/StuntGeneratorAnalyzer.cs
@@ -50,12 +50,12 @@ protected StuntGeneratorAnalyzer(NamingConvention naming, Type generatorAttribut
public virtual DiagnosticDescriptor OutdatedDiagnostic => StuntDiagnostics.OutdatedStunt;
///
- /// Returns the single this analyer supports.
+ /// Returns the single this analyzer supports.
///
public sealed override ImmutableArray SupportedDiagnostics
{
// NOTE: this creates the return value at this point because both Missing and Outdated
- // descriptors can be overriden as a customization point.
+ // descriptors can be overridden as a customization point.
get { return ImmutableArray.Create(MissingDiagnostic, OutdatedDiagnostic); }
}
@@ -74,7 +74,7 @@ void AnalyzeSyntaxNode(SyntaxNodeAnalysisContext context)
var generator = context.Compilation.GetTypeByMetadataName(generatorAttribute.FullName);
if (generator == null)
// This may be an extender authoring error, but another analyzer should ensure proper
- // metadata references exist. Typically, the same nuget package that adds this analyzer
+ // metadata references exist. Typically, the same NuGet package that adds this analyzer
// also adds the required assembly references, so this should never happen anyway.
return;
diff --git a/src/Stunts/Stunts.Analyzer/UnsupportedNestedTypeAnalyzer.cs b/src/Stunts/Stunts.Analyzer/UnsupportedNestedTypeAnalyzer.cs
index a5ca4342..f47c11e5 100644
--- a/src/Stunts/Stunts.Analyzer/UnsupportedNestedTypeAnalyzer.cs
+++ b/src/Stunts/Stunts.Analyzer/UnsupportedNestedTypeAnalyzer.cs
@@ -12,7 +12,7 @@ namespace Stunts
/// the and reports unsupported nested types for
/// codegen.
///
- // TODO: this is a stop-gap meassure until we can figure out why the ImplementInterfaces codefix
+ // TODO: this is a stop-gap measure until we can figure out why the ImplementInterfaces codefix
// is not returning any code actions for the CSharpScaffold (maybe VB too?) when the type to
// be implemented is a nested interface :(. In the IDE, the code action is properly available after
// generating the (non-working, since the interface isn't implemented) mock class.
@@ -58,7 +58,7 @@ protected UnsupportedNestedTypeAnalyzer(NamingConvention naming, Type generatorA
}
///
- /// Returns the single descriptor this analyer supports.
+ /// Returns the single descriptor this analyzer supports.
///
public sealed override ImmutableArray SupportedDiagnostics => ImmutableArray.Create(descriptor);
@@ -77,7 +77,7 @@ void AnalyzeSyntaxNode(SyntaxNodeAnalysisContext context)
var generator = context.Compilation.GetTypeByMetadataName(generatorAttribute.FullName);
if (generator == null)
// This may be an extender authoring error, but another analyzer should ensure proper
- // metadata references exist. Typically, the same nuget package that adds this analyzer
+ // metadata references exist. Typically, the same NuGet package that adds this analyzer
// also adds the required assembly references, so this should never happen anyway.
return;
diff --git a/src/Stunts/Stunts.Analyzer/ValidateTypesAnalyzer.cs b/src/Stunts/Stunts.Analyzer/ValidateTypesAnalyzer.cs
index 0c5ea99c..3d60026e 100644
--- a/src/Stunts/Stunts.Analyzer/ValidateTypesAnalyzer.cs
+++ b/src/Stunts/Stunts.Analyzer/ValidateTypesAnalyzer.cs
@@ -33,7 +33,7 @@ protected ValidateTypesAnalyzer(Type generatorAttribute)
///
/// Returns the single
- /// diagnostic this analyer supports.
+ /// diagnostic this analyzer supports.
///
public sealed override ImmutableArray SupportedDiagnostics { get; }
= ImmutableArray.Create(
diff --git a/src/Stunts/Stunts.Sdk/ProcessorPhase.cs b/src/Stunts/Stunts.Sdk/ProcessorPhase.cs
index 291d29ec..dbdb270f 100644
--- a/src/Stunts/Stunts.Sdk/ProcessorPhase.cs
+++ b/src/Stunts/Stunts.Sdk/ProcessorPhase.cs
@@ -33,7 +33,7 @@ public enum ProcessorPhase
///
/// Final phase that allows generators to perform additional generation beyond scaffold
- /// and inital stunt rewriting. Members generated in this phase are not rewritten at all
+ /// and initial stunt rewriting. Members generated in this phase are not rewritten at all
/// to use the and can consist of language-specific fixups
/// or cleanups to make the generated code more idiomatic than the default code fixes may
/// provide.
diff --git a/src/Stunts/Stunts.Sdk/Processors/DefaultImports.cs b/src/Stunts/Stunts.Sdk/Processors/DefaultImports.cs
index 7c567346..02c84dba 100644
--- a/src/Stunts/Stunts.Sdk/Processors/DefaultImports.cs
+++ b/src/Stunts/Stunts.Sdk/Processors/DefaultImports.cs
@@ -34,7 +34,7 @@ public class DefaultImports : IDocumentProcessor
public DefaultImports() : this(DefaultNamespaces) { }
///
- /// Initializes the default imports a specific set of namespaces to add.
+ /// Initializes the default imports with a specific set of namespaces to add.
///
public DefaultImports(params string[] namespaces) => this.namespaces = namespaces;
diff --git a/src/Stunts/Stunts.Sdk/Processors/SyntaxGeneratorExtensions.cs b/src/Stunts/Stunts.Sdk/Processors/SyntaxGeneratorExtensions.cs
index c66fd112..9d7b2258 100644
--- a/src/Stunts/Stunts.Sdk/Processors/SyntaxGeneratorExtensions.cs
+++ b/src/Stunts/Stunts.Sdk/Processors/SyntaxGeneratorExtensions.cs
@@ -7,7 +7,7 @@
namespace Stunts.Processors
{
///
- /// Language angnosti helper methods for code generation.
+ /// Language agnostic helper methods for code generation.
///
static class SyntaxGeneratorExtensions
{
diff --git a/src/Stunts/Stunts.Sdk/StuntGenerator.cs b/src/Stunts/Stunts.Sdk/StuntGenerator.cs
index 60f382d6..9f13d6ab 100644
--- a/src/Stunts/Stunts.Sdk/StuntGenerator.cs
+++ b/src/Stunts/Stunts.Sdk/StuntGenerator.cs
@@ -188,8 +188,8 @@ public StuntGenerator(NamingConvention naming, IEnumerable p
public async Task ApplyProcessors(Document document, CancellationToken cancellationToken)
{
#if DEBUG
- // While debugging the geneneration itself, don't let the cancellation timeouts
- // from tests to cause this to fail.
+ // While debugging the generation itself, don't let the cancellation timeouts
+ // from tests cause this to fail.
if (Debugger.IsAttached)
cancellationToken = CancellationToken.None;
#endif
diff --git a/src/Stunts/Stunts/BehaviorPipeline.cs b/src/Stunts/Stunts/BehaviorPipeline.cs
index bac62247..61015ac1 100644
--- a/src/Stunts/Stunts/BehaviorPipeline.cs
+++ b/src/Stunts/Stunts/BehaviorPipeline.cs
@@ -67,7 +67,7 @@ public BehaviorPipeline()
/// Input to the method call.
/// The ultimate target of the call.
/// Whether to throw the if it has a value after running
- /// the beaviors.
+ /// the behaviors.
/// Return value from the pipeline.
public IMethodReturn Invoke(IMethodInvocation invocation, InvokeBehavior target, bool throwOnException = false)
{
diff --git a/src/Stunts/Stunts/IStuntFactory.cs b/src/Stunts/Stunts/IStuntFactory.cs
index cb579f8d..956e8bba 100644
--- a/src/Stunts/Stunts/IStuntFactory.cs
+++ b/src/Stunts/Stunts/IStuntFactory.cs
@@ -15,7 +15,7 @@ public interface IStuntFactory
/// The base type (or main interface) of the stunt.
/// Additional interfaces implemented by the stunt, or an empty array.
///
- /// Contructor arguments if the is a class, rather than an interface, or an empty array.
+ /// Constructor arguments if the is a class, rather than an interface, or an empty array.
///
/// A stunt that implements in addition to the specified interfaces (if any).
object CreateStunt(Assembly stuntsAssembly, Type baseType, Type[] implementedInterfaces, object[] construtorArguments);
diff --git a/src/Stunts/Stunts/StuntExtensions.cs b/src/Stunts/Stunts/StuntExtensions.cs
index 15fb9a64..884769ae 100644
--- a/src/Stunts/Stunts/StuntExtensions.cs
+++ b/src/Stunts/Stunts/StuntExtensions.cs
@@ -31,7 +31,7 @@ public static IStunt AddBehavior(this IStunt stunt, IStuntBehavior behavior)
public static TStunt AddBehavior(this TStunt stunt, InvokeBehavior behavior, AppliesTo appliesTo = null, string name = null)
{
// We can't just add a constraint to the method signature, because
- // proxies are typically geneated and don't expose the IProxy interface directly.
+ // proxies are typically generated and don't expose the IProxy interface directly.
if (stunt is IStunt target)
target.Behaviors.Add(StuntBehavior.Create(behavior, appliesTo, name));
else
@@ -74,7 +74,7 @@ public static IStunt InsertBehavior(this IStunt stunt, int index, IStuntBehavior
}
///
- /// Inserts a behavior into the stunt behasvior pipeline at the specified
+ /// Inserts a behavior into the stunt behavior pipeline at the specified
/// index.
///
public static TStunt InsertBehavior(this TStunt stunt, int index, InvokeBehavior behavior, AppliesTo appliesTo = null, string name = null)
@@ -88,7 +88,7 @@ public static TStunt InsertBehavior(this TStunt stunt, int index, Invoke
}
///
- /// Inserts a behavior into the stunt behasvior pipeline at the specified
+ /// Inserts a behavior into the stunt behavior pipeline at the specified
/// index.
///
public static TStunt InsertBehavior(this TStunt stunt, int index, IStuntBehavior behavior)
diff --git a/src/build/Version.targets b/src/build/Version.targets
index 1a586207..99bbf446 100644
--- a/src/build/Version.targets
+++ b/src/build/Version.targets
@@ -20,7 +20,7 @@ AssemblyVersion=$(AssemblyVersion)" />
-
+
$(GitSemVerDashLabel)-pr$(BUILD_SOURCEBRANCH.Substring(10).TrimEnd('/merge'))
$(GitSemVerDashLabel)-pr$(APPVEYOR_PULL_REQUEST_NUMBER)