예제 #1
0
        public IdentifierInfo(IdentifierName name, [NotNull] ITypeSymbol type)
        {
            Guard.NotNull(type, nameof(type));

            Name = name;
            Type = type;
        }
        public IdentifierInfo(IdentifierName name, [NotNull] ITypeSymbol type, [NotNull] string kind)
        {
            Guard.NotNull(type, nameof(type));
            Guard.NotNullNorWhiteSpace(kind, nameof(kind));

            Name = name;
            Type = type;
            Kind = kind;
        }