Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo cleanup #16354

Merged
merged 83 commits into from
Jun 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
042bf67
typo: mesure -> measure
nschonni Jun 29, 2019
cc9b072
typo: Double word "our"
nschonni Jun 29, 2019
302b93a
typo: Double word "that"
nschonni Jun 29, 2019
6ccbd4f
typo: Double word "a"
nschonni Jun 29, 2019
43e7545
typo: Double word "new"
nschonni Jun 29, 2019
9ecd34b
typo: Double word "the"
nschonni Jun 29, 2019
9e39395
typo: Double word "issue"
nschonni Jun 29, 2019
67c3feb
typo: starup -> startup
nschonni Jun 29, 2019
dcc2135
typo: overriden -> overridden
nschonni Jun 29, 2019
a32fe81
typo: purpuse -> purpose
nschonni Jun 29, 2019
d4720f1
typo: relationl -> relational
nschonni Jun 29, 2019
50db7fa
typo: Errror -> Error
nschonni Jun 29, 2019
85386af
typo: colocated -> collocated
nschonni Jun 29, 2019
fd1b6b1
typo: Contstraint -> Constraint
nschonni Jun 29, 2019
c8eb794
typo: unqiue -> unique
nschonni Jun 29, 2019
afd79c4
typo: Idenfier -> Identifier
nschonni Jun 29, 2019
973c05d
typo: immidiately -> immediately
nschonni Jun 29, 2019
3434362
typo: timepsans -> timespans
nschonni Jun 29, 2019
a68ce48
typo: arithmatic -> arithmetic
nschonni Jun 29, 2019
915e6b5
typo: Platfrom -> Platform
nschonni Jun 29, 2019
989ed31
typo: navigationb -> navigation
nschonni Jun 29, 2019
20f2c89
typo: Neighbour -> Neighbor
nschonni Jun 29, 2019
c5d7bb3
typo: verticies -> vertices
nschonni Jun 29, 2019
2de3271
typo: incomming -> incoming
nschonni Jun 29, 2019
2aa1ce4
typo: patameter -> parameter
nschonni Jun 29, 2019
edfa4d2
typo: nullablee -> nullable
nschonni Jun 29, 2019
8d27447
typo: inialized -> initialized
nschonni Jun 29, 2019
e76663d
typo: Proivder -> Provider
nschonni Jun 29, 2019
4118cf3
typo: Comuted -> Computed
nschonni Jun 29, 2019
a84475e
typo: uniquness -> uniqueness
nschonni Jun 29, 2019
0560205
typo: commited -> committed
nschonni Jun 29, 2019
305ecd0
typo: assmebly -> assembly
nschonni Jun 29, 2019
6e1ce5f
typo: Interanl -> Internal
nschonni Jun 29, 2019
83d8f1c
typo: Interal -> Internal
nschonni Jun 29, 2019
83b68b8
typo: exsting -> existing
nschonni Jun 29, 2019
bca23a0
typo: migtration -> migration
nschonni Jun 29, 2019
565a244
typo: Connectuon -> Connection
nschonni Jun 29, 2019
9539cba
typo: unicide -> unicode
nschonni Jun 29, 2019
0599212
typo: presedence -> precedence
nschonni Jun 29, 2019
64d1b95
typo: Accesor -> Accessor
nschonni Jun 29, 2019
9c73094
typo: Precendence -> Precedence
nschonni Jun 29, 2019
58d7c46
typo: refence -> reference
nschonni Jun 29, 2019
3697e68
typo: inheritence -> inheritance
nschonni Jun 29, 2019
36e8280
typo: preditor -> predator
nschonni Jun 29, 2019
8311fc9
typo: Carbination -> Carbonation
nschonni Jun 29, 2019
c61bc27
typo: Genrator -> Generator
nschonni Jun 29, 2019
4583a5e
typo: occurences -> occurrences
nschonni Jun 29, 2019
0e9033d
typo: precendence -> precedence
nschonni Jun 29, 2019
f0f453f
typo: optimizated -> optimized
nschonni Jun 29, 2019
5d244e1
typo: curent -> current
nschonni Jun 29, 2019
3b18fc8
typo: Elemenent -> Element
nschonni Jun 29, 2019
f943ed7
typo: Cartidge -> Cartridge
nschonni Jun 29, 2019
d04be8b
typo: containig -> containing
nschonni Jun 29, 2019
8a3a6f6
typo: compex -> complex
nschonni Jun 29, 2019
09d86b5
typo: subuery -> subquery
nschonni Jun 29, 2019
c9edde8
typo: Defefault -> Default
nschonni Jun 29, 2019
d175cf2
typo: Detatching -> Detaching
nschonni Jun 29, 2019
f4f75be
typo: alised -> aliased
nschonni Jun 29, 2019
00fa64d
typo: dummmy -> dummy
nschonni Jun 29, 2019
073c7fa
typo: Doubkle -> Double
nschonni Jun 29, 2019
9c0d8c8
typo: propeprty -> property
nschonni Jun 29, 2019
2ae3ef4
typo: natioanl -> national
nschonni Jun 29, 2019
7a6f478
typo: Striny -> String
nschonni Jun 29, 2019
cdd3c38
typo: concurreny -> concurrency
nschonni Jun 29, 2019
f0b8287
typo: origianal -> original
nschonni Jun 29, 2019
d274d07
typo: Confguring -> Configuring
nschonni Jun 29, 2019
5c1c161
typo: aggreate -> aggregate
nschonni Jun 29, 2019
cbd14ab
typo: attched -> attached
nschonni Jun 29, 2019
d635f82
typo: refernce -> reference
nschonni Jun 29, 2019
9223237
typo: acceotable -> acceptable
nschonni Jun 29, 2019
f6dd165
typo: noitification -> notification
nschonni Jun 29, 2019
632f0ec
typo: symetrical -> symmetrical
nschonni Jun 29, 2019
dbe8a04
typo: Sevice -> Sevice
nschonni Jun 29, 2019
51707a2
typo: Resolvess -> Resolves
nschonni Jun 29, 2019
b956238
typo: navigtaion -> navigation
nschonni Jun 29, 2019
a7e5942
typo: depedent -> dependent
nschonni Jun 29, 2019
02f4193
typo: separetely -> separately
nschonni Jun 29, 2019
5c46673
typo: succesful -> successful
nschonni Jun 29, 2019
de99741
typo: Wierd -> Weird
nschonni Jun 29, 2019
e20bfa9
typo: Moostard -> Mustard
nschonni Jun 29, 2019
5312d20
typo: comperer -> comparer
nschonni Jun 29, 2019
830f3f1
typo: transction -> transaction
nschonni Jun 29, 2019
1aa3137
typo: adresses -> addresses
nschonni Jun 29, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ InMemory (for testing) | `Microsoft.EntityFrameworkCore.InMemory` | [![NuGet](h

## Project Wiki

More details about our project, like our release [roadmap](https://docs.microsoft.com/ef/core/what-is-new/roadmap), or [how to get and build our code](https://github.com/aspnet/EntityFrameworkCore/wiki/getting-and-building-the-code), are located in our our [project wiki](https://github.com/aspnet/EntityFrameworkCore/wiki/).
More details about our project, like our release [roadmap](https://docs.microsoft.com/ef/core/what-is-new/roadmap), or [how to get and build our code](https://github.com/aspnet/EntityFrameworkCore/wiki/getting-and-building-the-code), are located in our [project wiki](https://github.com/aspnet/EntityFrameworkCore/wiki/).

## Building from source

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public virtual void InitializeAndSaveChanges_AdventureWorks(int count)
{
context.SaveChanges();

// TODO: Don't mesure transaction rollback
// TODO: Don't measure transaction rollback
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void InitializeAndSaveChanges_AdventureWorks(int count)
{
context.SaveChanges();

// TODO: Don't mesure transaction rollback
// TODO: Don't measure transaction rollback
}
}
}
Expand Down
30 changes: 15 additions & 15 deletions eng/common/SigningValidation.proj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk">
<!--
This MSBuild file is intended to be used as the body of the default
This MSBuild file is intended to be used as the body of the default
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes under eng/common are irrelevant. If you think this is important, make the changes in the dotnet/arcade repo.

publishing release pipeline. The release pipeline will use this file
to invoke the the SignCheck tool to validate that packages about to
to invoke the SignCheck tool to validate that packages about to
be published are correctly signed.

Parameters:

- PackageBasePath : Directory containing all files that need to be validated.
- SignCheckVersion : Version of SignCheck package to be used.
- SignValidationExclusionList : ItemGroup containing exclusion list to be forwarded to SignCheck.
Expand All @@ -33,7 +33,7 @@
<SignCheckErrorLog>signcheck.errors.log</SignCheckErrorLog>
<SignCheckExclusionsFile>signcheck.exclusions.txt</SignCheckExclusionsFile>
</PropertyGroup>

<ItemGroup>
<!--
Documentation for these arguments is available here:
Expand All @@ -45,36 +45,36 @@
<SignCheckArgs Include="--log-file $(SignCheckLog)" />
<SignCheckArgs Include="--error-log-file $(SignCheckErrorLog)" />
<SignCheckArgs Include="--input-files $(SignCheckInputDir)" />

<SignCheckArgs Include="--exclusions-file $(SignCheckExclusionsFile)" Condition="'@(SignValidationExclusionList)' != ''" />
<SignCheckArgs Include="--verify-jar" Condition="'$(EnableJarSigningCheck)' == 'true'" />
<SignCheckArgs Include="--verify-strongname" Condition="'$(EnableStrongNameCheck)' == 'true'" />
</ItemGroup>
<WriteLinesToFile

<WriteLinesToFile
File="$(SignCheckExclusionsFile)"
Lines="@(SignValidationExclusionList)"
Condition="'@(SignValidationExclusionList)' != ''"
Overwrite="true"
Encoding="Unicode"/>

<!--
IgnoreExitCode='true' because the tool doesn't return '0' on success.
-->
<Exec
<Exec
Command="&quot;$(SignCheckToolPath)&quot; @(SignCheckArgs, ' ')"
IgnoreExitCode='true'
ConsoleToMsBuild="false"
IgnoreExitCode='true'
ConsoleToMsBuild="false"
StandardErrorImportance="high" />

<Error
Text="Signing validation failed. Check $(SignCheckErrorLog) for more information."
<Error
Text="Signing validation failed. Check $(SignCheckErrorLog) for more information."
Condition="Exists($(SignCheckErrorLog)) and '$([System.IO.File]::ReadAllText($(SignCheckErrorLog)))' != ''" />

<Message
Text="##vso[artifact.upload containerfolder=LogFiles;artifactname=LogFiles]{SignCheckErrorLog}"
Condition="Exists($(SignCheckErrorLog)) and '$([System.IO.File]::ReadAllText($(SignCheckErrorLog)))' != ''" />

</Target>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore.Cosmos/Query/Pipeline/SqlExpression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected SqlExpression(Type type, CoreTypeMapping typeMapping)
public CoreTypeMapping TypeMapping { get; }

protected override Expression VisitChildren(ExpressionVisitor visitor)
=> throw new InvalidOperationException("VisitChildren must be overriden in class deriving from SqlExpression");
=> throw new InvalidOperationException("VisitChildren must be overridden in class deriving from SqlExpression");

public override ExpressionType NodeType => ExpressionType.Extension;
public abstract void Print(ExpressionPrinter expressionPrinter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.EntityFrameworkCore.Diagnostics
{
/// <summary>
/// <para>
/// This class contains static methods used by EF Core internals and relationl database providers to
/// This class contains static methods used by EF Core internals and relational database providers to
/// write information to an <see cref="ILogger" /> and a <see cref="DiagnosticListener" /> for
/// well-known events.
/// </para>
Expand Down Expand Up @@ -2669,7 +2669,7 @@ public static void TransactionError(
{
var definition = RelationalResources.LogTransactionError(diagnostics);

LogTransactionErrror(diagnostics, exception, definition);
LogTransactionError(diagnostics, exception, definition);

var diagnosticSourceEnabled = diagnostics.DiagnosticSource.IsEnabled(definition.EventId.Name);
var interceptor = diagnostics.Interceptors?.Resolve<IDbTransactionInterceptor>();
Expand Down Expand Up @@ -2720,7 +2720,7 @@ public static Task TransactionErrorAsync(
{
var definition = RelationalResources.LogTransactionError(diagnostics);

LogTransactionErrror(diagnostics, exception, definition);
LogTransactionError(diagnostics, exception, definition);

var diagnosticSourceEnabled = diagnostics.DiagnosticSource.IsEnabled(definition.EventId.Name);
var interceptor = diagnostics.Interceptors?.Resolve<IDbTransactionInterceptor>();
Expand Down Expand Up @@ -2784,7 +2784,7 @@ private static TransactionErrorEventData BroadcastTransactionError(
return eventData;
}

private static void LogTransactionErrror(
private static void LogTransactionError(
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction> diagnostics,
Exception exception,
EventDefinition definition)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ private IEnumerable<MigrationOperation> DiffAnnotations(
[NotNull] TableMapping source,
[NotNull] TableMapping target)
{
// Validation should ensure that all the relevant annotations for the colocated entity types are the same
// Validation should ensure that all the relevant annotations for the collocated entity types are the same
var sourceMigrationsAnnotations = MigrationsAnnotations.For(source.EntityTypes[0]).ToList();
var targetMigrationsAnnotations = MigrationsAnnotations.For(target.EntityTypes[0]).ToList();
if (HasDifferences(sourceMigrationsAnnotations, targetMigrationsAnnotations))
Expand Down
4 changes: 2 additions & 2 deletions src/EFCore.Relational/Migrations/MigrationsSqlGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ protected virtual void CreateTableConstraints(
Check.NotNull(operation, nameof(operation));
Check.NotNull(builder, nameof(builder));

CreateTablePrimaryKeyContstraint(operation, model, builder);
CreateTablePrimaryKeyConstraint(operation, model, builder);
CreateTableUniqueConstraints(operation, model, builder);
CreateTableCheckConstraints(operation, model, builder);
CreateTableForeignKeys(operation, model, builder);
Expand Down Expand Up @@ -1505,7 +1505,7 @@ protected virtual void ForeignKeyConstraint(
/// <param name="operation"> The operation. </param>
/// <param name="model"> The target model which may be <c>null</c> if the operations exist without a model. </param>
/// <param name="builder"> The command builder to use to add the SQL fragment. </param>
protected virtual void CreateTablePrimaryKeyContstraint(
protected virtual void CreateTablePrimaryKeyConstraint(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will AspNetCore need to react to this breaking change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad AspNetCore won't need a reaction.

This remains a breaking change; renaming a protected method breaks the public API unless the containing class is internal or sealed. For example, this PR would have needed updates to ref assemblies if it used them.

That said, I'm not sure this is announcement-worthy. @ajcvickers your thoughts?

[NotNull] CreateTableOperation operation,
[CanBeNull] IModel model,
[NotNull] MigrationCommandListBuilder builder)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/EFCore.Relational/Properties/RelationalStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
<value>Cannot use table '{table}' for entity type '{entityType}' since it is being used for entity type '{otherEntityType}' and there is no relationship between their primary keys.</value>
</data>
<data name="LogKeyHasDefaultValue" xml:space="preserve">
<value>Property '{property}' on entity type '{entityType}' is part of a primary or alternate key but has a constant default value set. Constant default values are not useful for primary or alternate keys since these properties must always have non-null unqiue values.</value>
<value>Property '{property}' on entity type '{entityType}' is part of a primary or alternate key but has a constant default value set. Constant default values are not useful for primary or alternate keys since these properties must always have non-null unique values.</value>
<comment>Warning RelationalEventId.ModelValidationKeyDefaultValueWarning string string</comment>
</data>
<data name="LogClientEvalWarning" xml:space="preserve">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private static void InitializeIncludeCollection<TParent, TNavigationEntity>(
DbDataReader dbDataReader,
ResultCoordinator resultCoordinator,
TParent entity,
Func<QueryContext, DbDataReader, object[]> parentIdenfier,
Func<QueryContext, DbDataReader, object[]> parentIdentifier,
Func<QueryContext, DbDataReader, object[]> outerIdentifier,
INavigation navigation,
IClrCollectionAccessor clrCollectionAccessor,
Expand All @@ -243,7 +243,7 @@ private static void InitializeIncludeCollection<TParent, TNavigationEntity>(
collection = clrCollectionAccessor.GetOrCreate(entity);
}

var parentKey = parentIdenfier(queryContext, dbDataReader);
var parentKey = parentIdentifier(queryContext, dbDataReader);
var outerKey = outerIdentifier(queryContext, dbDataReader);

var collectionMaterializationContext = new CollectionMaterializationContext(entity, collection, parentKey, outerKey);
Expand All @@ -260,14 +260,14 @@ private static TCollection InitializeCollection<TElement, TCollection>(
QueryContext queryContext,
DbDataReader dbDataReader,
ResultCoordinator resultCoordinator,
Func<QueryContext, DbDataReader, object[]> parentIdenfier,
Func<QueryContext, DbDataReader, object[]> parentIdentifier,
Func<QueryContext, DbDataReader, object[]> outerIdentifier,
IClrCollectionAccessor clrCollectionAccessor)
where TCollection :class, IEnumerable<TElement>
{
var collection = clrCollectionAccessor?.Create() ?? new List<TElement>();

var parentKey = parentIdenfier(queryContext, dbDataReader);
var parentKey = parentIdentifier(queryContext, dbDataReader);
var outerKey = outerIdentifier(queryContext, dbDataReader);

var collectionMaterializationContext = new CollectionMaterializationContext(null, collection, parentKey, outerKey);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ private Expression VisitSqlUnaryExpression(SqlUnaryExpression sqlUnaryExpression
}

// NULL IS NULL -> true
// non_nullablee_constant IS NULL -> false
// non_nullable_constant IS NULL -> false
if (sqlUnaryExpression.OperatorType == ExpressionType.Equal
&& sqlUnaryExpression.Operand is SqlConstantExpression innerConstantNull1)
{
return _sqlExpressionFactory.Constant(innerConstantNull1.Value == null, sqlUnaryExpression.TypeMapping);
}

// NULL IS NOT NULL -> false
// non_nullablee_constant IS NOT NULL -> true
// non_nullable_constant IS NOT NULL -> true
if (sqlUnaryExpression.OperatorType == ExpressionType.NotEqual
&& sqlUnaryExpression.Operand is SqlConstantExpression innerConstantNull2)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected SqlExpression(Type type, RelationalTypeMapping typeMapping)
public RelationalTypeMapping TypeMapping { get; }

protected override Expression VisitChildren(ExpressionVisitor visitor)
=> throw new InvalidOperationException("VisitChildren must be overriden in class deriving from SqlExpression");
=> throw new InvalidOperationException("VisitChildren must be overridden in class deriving from SqlExpression");

public override ExpressionType NodeType => ExpressionType.Extension;
public abstract void Print(ExpressionPrinter expressionPrinter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public virtual IRelationalValueBufferFactory Create(IReadOnlyList<TypeMaterializ
}

/// <summary>
/// Creates value buffer assignment expressions for the the given type information.
/// Creates value buffer assignment expressions for the given type information.
/// </summary>
/// <param name="types"> Types and mapping for the values to be read. </param>
/// <returns> The value buffer assignment expressions. </returns>
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore.Relational/Update/UpdateSqlGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.EntityFrameworkCore.Update
{
/// <summary>
/// <para>
/// A a base class for the <see cref="IUpdateSqlGenerator" /> service that is typically inherited from
/// A base class for the <see cref="IUpdateSqlGenerator" /> service that is typically inherited from
/// by database providers.
/// </para>
/// <para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ public static int DateDiffMinute(
/// <param name="_">The DbFunctions instance.</param>
/// <param name="startTimeSpan">Starting timespan for the calculation.</param>
/// <param name="endTimeSpan">Ending timespan for the calculation.</param>
/// <returns>Number of minute boundaries crossed between the timepsans.</returns>
/// <returns>Number of minute boundaries crossed between the timespans.</returns>
public static int DateDiffMinute(
[CanBeNull] this DbFunctions _,
TimeSpan startTimeSpan,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private static readonly HashSet<string> _dateTimeDataTypes
"datetimeoffset"
};

private static readonly HashSet<ExpressionType> _arithmaticOperatorTypes
private static readonly HashSet<ExpressionType> _arithmeticOperatorTypes
= new HashSet<ExpressionType>
{
ExpressionType.Add,
Expand Down Expand Up @@ -52,7 +52,7 @@ protected override Expression VisitBinary(BinaryExpression binaryExpression)
}

return visitedExpression is SqlBinaryExpression sqlBinary
&& _arithmaticOperatorTypes.Contains(sqlBinary.OperatorType)
&& _arithmeticOperatorTypes.Contains(sqlBinary.OperatorType)
&& (_dateTimeDataTypes.Contains(GetProviderType(sqlBinary.Left))
|| _dateTimeDataTypes.Contains(GetProviderType(sqlBinary.Right)))
? null
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore.Sqlite.Core/Infrastructure/SpatialiteLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static bool TryLoad([NotNull] DbConnection connection)
var opened = false;
if (connection.State != ConnectionState.Open)
{
// NB: If closed, LoadExtension won't throw immidiately
// NB: If closed, LoadExtension won't throw immediately
connection.Open();
opened = true;
}
Expand Down
4 changes: 2 additions & 2 deletions src/EFCore.Tools/tools/EntityFrameworkCore.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ function GetStartupProject($name, $fallbackProject)
{
Write-Warning 'No startup project set.'
}

Write-Warning "Using project '$($fallbackProject.ProjectName)' as the startup project."

return $fallbackProject
Expand Down Expand Up @@ -1066,7 +1066,7 @@ function GetPlatformTarget($project)
return $platformTarget
}

$platformTarget = GetMSBuildProperty $project 'PlatfromTarget'
$platformTarget = GetMSBuildProperty $project 'PlatformTarget'
if ($platformTarget)
{
return $platformTarget
Expand Down
4 changes: 2 additions & 2 deletions src/EFCore/DbContextOptionsBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public virtual DbContextOptionsBuilder ReplaceService<TService, TImplementation>
/// </para>
/// <para>
/// Calling this method multiple times will result in all interceptors in every call being added to the context.
/// Interceptors added in a previous call are not overriden by interceptors added in a later call.
/// Interceptors added in a previous call are not overridden by interceptors added in a later call.
/// </para>
/// </summary>
/// <param name="interceptors"> The interceptors to add. </param>
Expand All @@ -341,7 +341,7 @@ public virtual DbContextOptionsBuilder AddInterceptors([NotNull] IEnumerable<IIn
/// </para>
/// <para>
/// Calling this method multiple times will result in all interceptors in every call being added to the context.
/// Interceptors added in a previous call are not overriden by interceptors added in a later call.
/// Interceptors added in a previous call are not overridden by interceptors added in a later call.
/// </para>
/// </summary>
/// <param name="interceptors"> The interceptors to add. </param>
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/Diagnostics/CoreLoggerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ private static string NonDefiningInverseNavigationWarning(EventDefinitionBase de
/// <param name="navigation"> The navigation property. </param>
/// <param name="targetType"> The target type. </param>
/// <param name="inverseNavigation"> The inverse navigation property. </param>
/// <param name="ownershipNavigation"> The ownership navigationb property. </param>
/// <param name="ownershipNavigation"> The ownership navigation property. </param>
public static void NonOwnershipInverseNavigationWarning(
[NotNull] this IDiagnosticsLogger<DbLoggerCategory.Model> diagnostics,
[NotNull] IEntityType declaringType,
Expand Down
Loading