/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/CSharp/Portable/Binder/BinderFactory.NodeUsage.cs
37 строк
1 KB
Julien Couvreur
Extensions: fix issue with paramref (#81269)
19 ноя 2025, 23:09
Не верифицирован
19 ноя 2025, 23:09
4cd6bfb
Код
Авторство
О чём код?
// 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. namespace Microsoft.CodeAnalysis.CSharp { internal partial class BinderFactory { internal enum NodeUsage : byte { Normal = 0, MethodTypeParameters = 1 << 0, MethodBody = 1 << 1, ConstructorBodyOrInitializer = 1 << 0, AccessorBody = 1 << 0, OperatorBody = 1 << 0, NamedTypeBodyOrTypeParameters = 1 << 1, // Cannot share the value with ConstructorBodyOrInitializer NamedTypeBaseListOrParameterList = 1 << 2, // Cannot share the value with ConstructorBodyOrInitializer NamespaceBody = 1 << 0, NamespaceUsings = 1 << 1, CompilationUnitUsings = 1 << 0, CompilationUnitScript = 1 << 1, CompilationUnitScriptUsings = 1 << 2, DocumentationCommentParameter = 1 << 0, DocumentationCommentParameterReference = 1 << 1, DocumentationCommentTypeParameter = 1 << 2, DocumentationCommentTypeParameterReference = 1 << 3, CrefParameterOrReturnType = 1 << 0, } } }