提交 c93f2c33 编写于 作者: C Cyrus Najmabadi

Fix spelling

上级 47466a7f
...@@ -174,7 +174,7 @@ internal static partial class DependentTypeFinder ...@@ -174,7 +174,7 @@ internal static partial class DependentTypeFinder
// We might miss a derived type in C if there's an intermediate derived type // We might miss a derived type in C if there's an intermediate derived type
// in B. // in B.
// //
// However, say we have projects A <- B <- C <- D, only only projects A and C // However, say we have projects A <- B <- C <- D, only projects A and C
// are passed in. There is no need to check D as there's no way it could // are passed in. There is no need to check D as there's no way it could
// contribute an intermediate type that affects A or C. We only need to check // contribute an intermediate type that affects A or C. We only need to check
// A, B and C // A, B and C
...@@ -187,7 +187,7 @@ internal static partial class DependentTypeFinder ...@@ -187,7 +187,7 @@ internal static partial class DependentTypeFinder
// and the list of projects the caller wants to search, find the actual list of // and the list of projects the caller wants to search, find the actual list of
// projects we need to search through. // projects we need to search through.
// //
// This list of projects is properly topologicaly ordered. Because of this we // This list of projects is properly topologically ordered. Because of this we
// can just process them in order from first to last because we know no project // can just process them in order from first to last because we know no project
// in this list could affect a prior project. // in this list could affect a prior project.
var orderedProjectsToExamine = GetOrderedProjectsToExamine( var orderedProjectsToExamine = GetOrderedProjectsToExamine(
...@@ -198,7 +198,7 @@ internal static partial class DependentTypeFinder ...@@ -198,7 +198,7 @@ internal static partial class DependentTypeFinder
using var _1 = GetSymbolSet(out var result); using var _1 = GetSymbolSet(out var result);
// The current total set of matching metadata types in the descendant tree (including the initial type if it // The current total set of matching metadata types in the descendant tree (including the initial type if it
// is from metadata). Will be used when examining new types to see if they inherit from any of htese. // is from metadata). Will be used when examining new types to see if they inherit from any of these.
using var _2 = GetSymbolSet(out var currentMetadataTypes); using var _2 = GetSymbolSet(out var currentMetadataTypes);
// Same as above, but contains source types as well. // Same as above, but contains source types as well.
...@@ -558,7 +558,7 @@ private static bool TypeHasInterfaceInSet(INamedTypeSymbol type, SymbolSet set) ...@@ -558,7 +558,7 @@ private static bool TypeHasInterfaceInSet(INamedTypeSymbol type, SymbolSet set)
// We're going to be sweeping over this project over and over until we reach a // We're going to be sweeping over this project over and over until we reach a
// fixed point. In order to limit GC and excess work, we cache all the semantic // fixed point. In order to limit GC and excess work, we cache all the semantic
// models and DeclaredSymbolInfo for hte documents we look at. // models and DeclaredSymbolInfo for the documents we look at.
// Because we're only processing a project at a time, this is not an issue. // Because we're only processing a project at a time, this is not an issue.
var cachedModels = new ConcurrentSet<SemanticModel>(); var cachedModels = new ConcurrentSet<SemanticModel>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册