Skip to content

Commit

Permalink
Fix dependencymodel typo (#69566)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi committed May 19, 2022
1 parent b5f9c22 commit 15dda0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private DependencyContext Read(Utf8JsonReader reader)
case DependencyContextStrings.RuntimeTargetPropertyName:
ReadRuntimeTarget(ref reader, out runtimeTargetName, out runtimeSignature);
break;
case DependencyContextStrings.CompilationOptionsPropertName:
case DependencyContextStrings.CompilationOptionsPropertyName:
compilationOptions = ReadCompilationOptions(ref reader);
break;
case DependencyContextStrings.TargetsPropertyName:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal static class DependencyContextStrings

internal const string ServiceablePropertyName = "serviceable";

internal const string CompilationOptionsPropertName = "compilationOptions";
internal const string CompilationOptionsPropertyName = "compilationOptions";

internal const string DefinesPropertyName = "defines";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private static void WriteRuntimeGraph(DependencyContext context, Utf8JsonWriter

private static void WriteCompilationOptions(CompilationOptions compilationOptions, Utf8JsonWriter jsonWriter)
{
jsonWriter.WriteStartObject(DependencyContextStrings.CompilationOptionsPropertName);
jsonWriter.WriteStartObject(DependencyContextStrings.CompilationOptionsPropertyName);
if (compilationOptions.Defines?.Any() == true)
{
jsonWriter.WriteStartArray(DependencyContextStrings.DefinesPropertyName);
Expand Down

0 comments on commit 15dda0e

Please sign in to comment.