未验证 提交 698467c6 编写于 作者: A AlekseyTs 提交者: GitHub

Clean up Binder.GetWellKnownType API (#45665)

上级 27353432
......@@ -1505,9 +1505,9 @@ internal NamedTypeSymbol GetWellKnownType(WellKnownType type, DiagnosticBag diag
/// This is a layer on top of the Compilation version that generates a diagnostic if the well-known
/// type isn't found.
/// </summary>
internal NamedTypeSymbol GetWellKnownType(CSharpCompilation compilation, WellKnownType type, DiagnosticBag diagnostics, SyntaxNode node)
internal static NamedTypeSymbol GetWellKnownType(CSharpCompilation compilation, WellKnownType type, DiagnosticBag diagnostics, SyntaxNode node)
{
return GetWellKnownType(this.Compilation, type, diagnostics, node.Location);
return GetWellKnownType(compilation, type, diagnostics, node.Location);
}
internal static NamedTypeSymbol GetWellKnownType(CSharpCompilation compilation, WellKnownType type, DiagnosticBag diagnostics, Location location)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册