Esempio n. 1
0
        public IllFormedSemanticModelException(string message, INamespaceSymbol badNamespace) : base(message)
        {
            Contract.Requires(badNamespace != null);

            BadNamespace = badNamespace;
            Kind         = CSharpKind.CSharpNamespace;
        }
Esempio n. 2
0
        public IllFormedSemanticModelException(string message, ITypeSymbol badType) : base(message)
        {
            Contract.Requires(badType != null);

            BadType = badType;
            Kind    = CSharpKind.CSharpType;
        }
Esempio n. 3
0
        public IllFormedSemanticModelException(string message, IParameterSymbol badParameter) : base(message)
        {
            Contract.Requires(badParameter != null);

            BadParameter = badParameter;
            Kind         = CSharpKind.CSharpParameter;
        }
        public IllFormedSemanticModelException(string message, CSharpMember badMember) : base(message)
        {
            Contract.Requires(badMember != null);

            BadMember = badMember;
            Kind      = CSharpKind.CSharpMember;
        }