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