| File: FindSymbols\Extensions.cs | Web Access |
| Project: src\roslyn\src\Workspaces\Core\Portable\Microsoft.CodeAnalysis.Workspaces.csproj (Microsoft.CodeAnalysis.Workspaces) |
// 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. using Microsoft.CodeAnalysis.LanguageService; namespace Microsoft.CodeAnalysis.FindSymbols; internal static partial class Extensions { public const string ComplexReceiverTypeName = ""; // Although they have same value, one constant here is used for the entire name // and the other is just a suffix. Defining separate constants for clarity. public const string ComplexArrayReceiverTypeName = "[]"; public const string ArrayReceiverTypeNameSuffix = "[]"; internal static bool TextMatch(this ISyntaxFactsService syntaxFacts, string text1, string text2) => syntaxFacts.StringComparer.Equals(text1, text2); }