Пример #1
0
        private InteractionSymbol CreateSymbol(SymbolKind kind, string name, DeclarationFlags?flags = null)
        {
            string modifiers        = flags?.ToDisplayModifier();
            string fullNameAsString = GetFullNameFor(name, modifiers);

            return(new InteractionSymbol(kind, fullNameAsString));
        }
Пример #2
0
        public static string GetModifierAsSuffix(this DeclarationFlags flags)
        {
            var modifier = flags.ToDisplayModifier();

            if (!string.IsNullOrEmpty(modifier))
            {
                return(string.Concat(".", modifier));
            }

            return(modifier);
        }