public IllFormedSemanticModelException(string message, INamespaceSymbol badNamespace) : base(message) { Contract.Requires(badNamespace != null); BadNamespace = badNamespace; Kind = CSharpKind.CSharpNamespace; }
public IllFormedSemanticModelException(string message, ITypeSymbol badType) : base(message) { Contract.Requires(badType != null); BadType = badType; Kind = CSharpKind.CSharpType; }
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; }