Catel.ReSharper.Arguments.IsNotNullOrEmptyContextAction.IsArgumentTypeTheExpected C# (CSharp) Méthode

IsArgumentTypeTheExpected() protected méthode

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