Catel.ReSharper.Arguments.IsNotNullOrEmptyContextAction.IsArgumentTypeTheExpected C# (CSharp) Method

IsArgumentTypeTheExpected() protected method

protected IsArgumentTypeTheExpected ( IType type ) : bool
type IType
return bool
        protected override bool IsArgumentTypeTheExpected(IType type)
        {
            IDeclaredType declaredType;
            return type != null && (type.IsString() || ((declaredType = type.GetScalarType()) != null && declaredType.GetClrName().FullName == "System.Guid"));
        }