public override string ToSourceCodeString()
        {
            var builder = new StringBuilder();

            builder.Append(ReferenceCapability.ToSourceCodeString());
            if (builder.Length > 0)
            {
                builder.Append(' ');
            }
            builder.Append(ContainingNamespace);
            if (ContainingNamespace != NamespaceName.Global)
            {
                builder.Append('.');
            }
            builder.Append(Name);
            return(builder.ToString());
        }
Exemplo n.º 2
0
        public override string ToSourceCodeString()
        {
            var capability = ReferenceCapability.ToSourceCodeString();

            return(capability.Length == 0 ? "Any" : $"{capability} Any");
        }