From f7e06684cd2c5d8a0523711ff8275d3c006e4fa5 Mon Sep 17 00:00:00 2001 From: Hiroaki Shirai Date: Mon, 18 Nov 2024 23:29:20 +0900 Subject: [PATCH] Fix typo --- .../Assets/VContainer/Runtime/Internal/FixedTypeKeyHashTable.cs | 2 +- VContainer/Assets/VContainer/Runtime/Internal/TypeAnalyzer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VContainer/Assets/VContainer/Runtime/Internal/FixedTypeKeyHashTable.cs b/VContainer/Assets/VContainer/Runtime/Internal/FixedTypeKeyHashTable.cs index 4f81d9ab..42c58231 100644 --- a/VContainer/Assets/VContainer/Runtime/Internal/FixedTypeKeyHashTable.cs +++ b/VContainer/Assets/VContainer/Runtime/Internal/FixedTypeKeyHashTable.cs @@ -79,7 +79,7 @@ public TValue Get(Type type) } ERROR: - throw new KeyNotFoundException("Type was not dound, Type: " + type.FullName); + throw new KeyNotFoundException("Type was not found, Type: " + type.FullName); } public bool TryGet(Type type, out TValue value) diff --git a/VContainer/Assets/VContainer/Runtime/Internal/TypeAnalyzer.cs b/VContainer/Assets/VContainer/Runtime/Internal/TypeAnalyzer.cs index 8c2bdadb..075c5241 100644 --- a/VContainer/Assets/VContainer/Runtime/Internal/TypeAnalyzer.cs +++ b/VContainer/Assets/VContainer/Runtime/Internal/TypeAnalyzer.cs @@ -168,7 +168,7 @@ public static InjectTypeInfo Analyze(Type type) var analyzedType = type; var typeInfo = type.GetTypeInfo(); - // Constructor, single [Inject] constructor -> single most parameters constuctor + // Constructor, single [Inject] constructor -> single most parameters constructor var annotatedConstructorCount = 0; var maxParameters = -1; foreach (var constructorInfo in typeInfo.GetConstructors(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic))